Author: olivier
Date: 2007-07-18 18:29:43 +0000 (Wed, 18 Jul 2007)
New Revision: 25925
Modified:
xfwm4/trunk/src/events.c
Log:
Do ReplayPointer on client window only, this is actually a lot simpler
Modified: xfwm4/trunk/src/events.c
===================================================================
--- xfwm4/trunk/src/events.c 2007-07-18 16:35:26 UTC (rev 25924)
+++ xfwm4/trunk/src/events.c 2007-07-18 18:29:43 UTC (rev 25925)
@@ -865,9 +865,6 @@
TRACE ("entering handleButtonPress");
- /* Release queued events at the time of the event */
- XAllowEvents (display_info->dpy, ReplayPointer, ev->time);
-
c = myDisplayGetClientFromWindow (display_info, ev->window, SEARCH_FRAME |
SEARCH_WINDOW);
if (c)
{
@@ -1005,6 +1002,7 @@
clientRaise (c, None);
}
}
+ XAllowEvents (display_info->dpy, ReplayPointer, ev->time);
}
return EVENT_FILTER_REMOVE;
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits