[Xfce4-commits] <xfwm4:master> Restore the release keyboard events.
Olivier Fourdan
noreply at xfce.org
Thu Jan 20 11:10:01 CET 2011
Updating branch refs/heads/master
to ef6e13761bf29dd87fde57ecacbed42f8244b748 (commit)
from 319edb1019ce6b3f1aaf8e0d6aed7564ae811e8a (commit)
commit ef6e13761bf29dd87fde57ecacbed42f8244b748
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Thu Jan 20 11:07:51 2011 +0100
Restore the release keyboard events.
src/events.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/events.c b/src/events.c
index 7a8d5f4..eb92c58 100644
--- a/src/events.c
+++ b/src/events.c
@@ -301,6 +301,8 @@ handleKeyPress (DisplayInfo *display_info, XKeyEvent * ev)
TRACE ("entering handleKeyEvent");
+ XAllowEvents (display_info->dpy, AsyncKeyboard, ev->time);
+
ev_screen_info = myDisplayGetScreenFromRoot (display_info, ev->root);
if (!ev_screen_info)
{
@@ -525,10 +527,6 @@ 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