[Xfce4-commits] r30396 - in xfwm4/trunk: . src

Olivier Fourdan olivier at xfce.org
Sun Jul 26 16:14:02 CEST 2009


Author: olivier
Date: 2009-07-26 14:14:01 +0000 (Sun, 26 Jul 2009)
New Revision: 30396

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/src/client.c
Log:
	* src/client.c: Focus window when activate comes from application 
	  (otherwise the taskbar does not focus anymore).

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog	2009-07-26 09:04:45 UTC (rev 30395)
+++ xfwm4/trunk/ChangeLog	2009-07-26 14:14:01 UTC (rev 30396)
@@ -1,3 +1,8 @@
+2009-07-26	olivier
+
+	* src/client.c: Focus window when activate comes from application 
+	  (otherwise the taskbar does not focus anymore).
+
 2009-07-19	olivier
 
 	* src/focus.c: Place windows on top of stack even when not focused in

Modified: xfwm4/trunk/src/client.c
===================================================================
--- xfwm4/trunk/src/client.c	2009-07-26 09:04:45 UTC (rev 30395)
+++ xfwm4/trunk/src/client.c	2009-07-26 14:14:01 UTC (rev 30396)
@@ -2583,7 +2583,7 @@
         }
         clientRaise (sibling, None);
         clientShow (sibling, TRUE);
-        if (!source_is_application || screen_info->params->click_to_focus)
+        if (source_is_application || screen_info->params->click_to_focus)
         {
             clientSetFocus (screen_info, c, timestamp, NO_FOCUS_FLAG);
         }




More information about the Xfce4-commits mailing list