only do shit with the grabbed_* when a grab is in place

This commit is contained in:
Dana Jansens 2003-08-12 08:23:56 +00:00
parent 8529aab619
commit a9ce3ba266

View file

@ -127,7 +127,6 @@ gboolean keyboard_process_interactive_grab(const XEvent *e,
if (interactive_grab) {
*client = grabbed_client;
*context = grabbed_context;
}
if ((e->type == KeyRelease &&
!(grabbed_state & e->xkey.state)))
@ -169,6 +168,7 @@ gboolean keyboard_process_interactive_grab(const XEvent *e,
handled = TRUE;
}
}
return handled;
}