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

Olivier Fourdan olivier at xfce.org
Fri Mar 13 11:36:42 CET 2009


Author: olivier
Date: 2009-03-13 10:36:42 +0000 (Fri, 13 Mar 2009)
New Revision: 29658

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/src/focus.c
Log:
	* src/focus.c: do not set the demand attendtion flag if the 
	  application itself has set a nil timestamp.

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog	2009-03-13 10:28:32 UTC (rev 29657)
+++ xfwm4/trunk/ChangeLog	2009-03-13 10:36:42 UTC (rev 29658)
@@ -1,5 +1,10 @@
 2009-03-13	olivier
 
+	* src/focus.c: do not set the demand attendtion flag if the 
+	  application itself has set a nil timestamp.
+
+2009-03-13	olivier
+
 	* src/focus.c, serc/netwm.c: Check for nil timestamp regardless of 
 	  focus stealing prevention setting, so that applications using
 	  gtk_window_set_focus_on_map() don't get focused even when focus

Modified: xfwm4/trunk/src/focus.c
===================================================================
--- xfwm4/trunk/src/focus.c	2009-03-13 10:28:32 UTC (rev 29657)
+++ xfwm4/trunk/src/focus.c	2009-03-13 10:36:42 UTC (rev 29658)
@@ -166,7 +166,7 @@
     {
         TRACE ("Given startup time is nil, not focusing \"%s\"", c->name);
         give_focus = FALSE;
-        prevented = TRUE;
+        prevented = FALSE;
     }
     else if ((client_focus) && (prevent_focus_stealing))
     {




More information about the Xfce4-commits mailing list