only do shit with the grabbed_* when a grab is in place
This commit is contained in:
parent
8529aab619
commit
a9ce3ba266
1 changed files with 31 additions and 31 deletions
|
@ -127,7 +127,6 @@ gboolean keyboard_process_interactive_grab(const XEvent *e,
|
||||||
if (interactive_grab) {
|
if (interactive_grab) {
|
||||||
*client = grabbed_client;
|
*client = grabbed_client;
|
||||||
*context = grabbed_context;
|
*context = grabbed_context;
|
||||||
}
|
|
||||||
|
|
||||||
if ((e->type == KeyRelease &&
|
if ((e->type == KeyRelease &&
|
||||||
!(grabbed_state & e->xkey.state)))
|
!(grabbed_state & e->xkey.state)))
|
||||||
|
@ -169,6 +168,7 @@ gboolean keyboard_process_interactive_grab(const XEvent *e,
|
||||||
|
|
||||||
handled = TRUE;
|
handled = TRUE;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return handled;
|
return handled;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue