[Xfce4-commits] <xfwm4:libxfce4ui> Implement a workaround to avoid loosing key release events
Olivier Fourdan
noreply at xfce.org
Sun Jan 10 10:24:32 CET 2010
Updating branch refs/heads/libxfce4ui
to 61f8cf1a375099b9aadf31aa58be8e2af1b0d168 (commit)
from aea1dad9abf963701b5d96144483bab450673f0e (commit)
commit 61f8cf1a375099b9aadf31aa58be8e2af1b0d168
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Mon Oct 26 14:13:05 2009 +0100
Implement a workaround to avoid loosing key release events
src/events.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/events.c b/src/events.c
index 2a30381..111488b 100644
--- a/src/events.c
+++ b/src/events.c
@@ -505,6 +505,10 @@ static eventFilterStatus
handleKeyRelease (DisplayInfo *display_info, XKeyEvent * ev)
{
TRACE ("entering handleKeyRelease");
+ /* Seems we loose KeyRelease as a results of active grabs after
+ * a workspace switch of a cycling.
+ */
+ XAllowEvents (display_info->dpy, ReplayKeyboard, ev->time);
return EVENT_FILTER_PASS;
}
More information about the Xfce4-commits
mailing list