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; }