Author: olivier
Date: 2008-05-16 17:27:59 +0000 (Fri, 16 May 2008)
New Revision: 26965

Modified:
   xfwm4/trunk/src/events.c
Log:
Actually, I believe it is safer to use CurrentTime when releasing the event 
queue

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c    2008-05-16 16:59:55 UTC (rev 26964)
+++ xfwm4/trunk/src/events.c    2008-05-16 17:27:59 UTC (rev 26965)
@@ -564,7 +564,7 @@
     }
 
     /* Release queued events */
-    XAllowEvents (display_info->dpy, SyncKeyboard, myDisplayGetCurrentTime 
(display_info));
+    XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
 
     return status;
 }
@@ -1039,7 +1039,7 @@
     }
 
     /* Release pending events */
-    XAllowEvents (display_info->dpy, replay ? ReplayPointer : SyncPointer, 
myDisplayGetCurrentTime (display_info));
+    XAllowEvents (display_info->dpy, replay ? ReplayPointer : SyncPointer, 
CurrentTime);
 
     return EVENT_FILTER_REMOVE;
 }

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

Reply via email to