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

Olivier Fourdan olivier at xfce.org
Thu Feb 19 13:54:58 CET 2009


Author: olivier
Date: 2009-02-19 12:54:58 +0000 (Thu, 19 Feb 2009)
New Revision: 29516

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/NEWS
   xfwm4/trunk/src/events.c
Log:
	* src/events.c: Use timestamp provided by the event itself to 
	  release queued events (Bug #4959). 
 

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog	2009-02-19 11:21:29 UTC (rev 29515)
+++ xfwm4/trunk/ChangeLog	2009-02-19 12:54:58 UTC (rev 29516)
@@ -1,5 +1,10 @@
 2009-02-19	olivier
 
+	* src/events.c: Use timestamp provided by the event itself to 
+	  release queued events (Bug #4959).
+
+2009-02-19	olivier
+
 	* src/events.c: Use more appropriate callback function name (trivial).
 
 2009-02-19	olivier

Modified: xfwm4/trunk/NEWS
===================================================================
--- xfwm4/trunk/NEWS	2009-02-19 11:21:29 UTC (rev 29515)
+++ xfwm4/trunk/NEWS	2009-02-19 12:54:58 UTC (rev 29516)
@@ -18,6 +18,8 @@
   amule when started hidden to system tray (Bug #4928)
 - Fix margin max value (Bug #4931)
 - Apply font settings changes in real time (DPI, hinting, hint style, rgba).
+- Fix key "Super" remaining sticky when used as a modifier shortcut 
+  (Bug #4959).
 
 4.5.99.1 (Xfce 4.6rc1)
 ======================

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c	2009-02-19 11:21:29 UTC (rev 29515)
+++ xfwm4/trunk/src/events.c	2009-02-19 12:54:58 UTC (rev 29516)
@@ -300,7 +300,7 @@
     if (!ev_screen_info)
     {
         /* Release queued events */
-        XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
+        XAllowEvents (display_info->dpy, SyncKeyboard, ev->time);
 
         return EVENT_FILTER_PASS;
     }
@@ -511,7 +511,7 @@
     }
 
     /* Release queued events */
-    XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
+    XAllowEvents (display_info->dpy, SyncKeyboard, ev->time);
 
     return status;
 }
@@ -522,7 +522,7 @@
     TRACE ("entering handleKeyRelease");
 
     /* Release queued events */
-    XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
+    XAllowEvents (display_info->dpy, SyncKeyboard, ev->time);
 
     return EVENT_FILTER_PASS;
 }




More information about the Xfce4-commits mailing list