Author: olivier
Date: 2007-09-09 22:14:14 +0000 (Sun, 09 Sep 2007)
New Revision: 26060

Modified:
   xfwm4/trunk/src/events.c
Log:
Do not focus dock windows that raise themselves (why oh why would they do that 
anyway, heh?) to fix bug #3439 with Avant Window Navigator.

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c    2007-09-09 21:09:54 UTC (rev 26059)
+++ xfwm4/trunk/src/events.c    2007-09-09 22:14:14 UTC (rev 26060)
@@ -1430,7 +1430,7 @@
            stealing prevention is not activated, otherwise we just set the 
"demands attention"
            flag...
          */
-        if ((ev->value_mask & CWStackMode) && (wc.stack_mode == Above) && 
(wc.sibling == None))
+        if ((ev->value_mask & CWStackMode) && (wc.stack_mode == Above) && 
(wc.sibling == None) && !(c->type & WINDOW_TYPE_DONT_FOCUS))
         {
             Client *last_raised;
 

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to