From debf08cac0f78f120a41b180f32c23e267d34c71 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 28 Sep 2009 15:47:39 -0400 Subject: [PATCH] Fix handling of grabbed key events https://bugzilla.gnome.org/show_bug.cgi?id=596659 --- src/compositor/compositor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compositor/compositor.c b/src/compositor/compositor.c index af75e1a47..5b8563f3f 100644 --- a/src/compositor/compositor.c +++ b/src/compositor/compositor.c @@ -577,8 +577,8 @@ is_grabbed_event (XEvent *event) case EnterNotify: case LeaveNotify: case MotionNotify: - case KeyPressMask: - case KeyReleaseMask: + case KeyPress: + case KeyRelease: return TRUE; }