Author: olivier
Date: 2006-07-20 20:30:44 +0000 (Thu, 20 Jul 2006)
New Revision: 22496

Modified:
   xfwm4/trunk/src/events.c
Log:
Use event timestamp

Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c    2006-07-20 19:17:41 UTC (rev 22495)
+++ xfwm4/trunk/src/events.c    2006-07-20 20:30:44 UTC (rev 22496)
@@ -542,7 +542,7 @@
         default:
             break;
     }
-    XAllowEvents (display_info->dpy, SyncKeyboard, myDisplayGetCurrentTime 
(display_info));
+    XAllowEvents (display_info->dpy, SyncKeyboard, ev->time);
 }
 
 /* User has clicked on an edge or corner.
@@ -986,11 +986,11 @@
 
         if (replay)
         {
-            XAllowEvents (display_info->dpy, ReplayPointer, 
myDisplayGetCurrentTime (display_info));
+            XAllowEvents (display_info->dpy, ReplayPointer, ev->time);
         }
         else
         {
-            XAllowEvents (display_info->dpy, SyncPointer, 
myDisplayGetCurrentTime (display_info));
+            XAllowEvents (display_info->dpy, SyncPointer, ev->time);
         }
 
         return;

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

Reply via email to