Author: olivier
Date: 2008-05-09 09:22:53 +0000 (Fri, 09 May 2008)
New Revision: 26941
Modified:
xfwm4/trunk/src/events.c
Log:
Make sure keyboard events are released, otherwise processing may stay stuck now
that we do sync grab on the keyboard
Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c 2008-05-09 02:23:24 UTC (rev 26940)
+++ xfwm4/trunk/src/events.c 2008-05-09 09:22:53 UTC (rev 26941)
@@ -346,7 +346,7 @@
if (!ev_screen_info)
{
/* Release queued events */
- XAllowEvents (display_info->dpy, SyncKeyboard, ev->time);
+ XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
return EVENT_FILTER_PASS;
}
@@ -564,7 +564,7 @@
}
/* Release queued events */
- XAllowEvents (display_info->dpy, SyncKeyboard, myDisplayGetCurrentTime
(display_info));
+ XAllowEvents (display_info->dpy, SyncKeyboard, CurrentTime);
return status;
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits