grab the pointer Async for key grabs, lets key bindings like <execute>xkill</execute> work
This commit is contained in:
parent
a991c07bc1
commit
4d9a46bec0
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ void grab_key(guint keycode, guint state, Window win, int keyboard_mode)
|
|||
xerror_occured = FALSE;
|
||||
for (i = 0; i < MASK_LIST_SIZE; ++i)
|
||||
XGrabKey(ob_display, keycode, state | mask_list[i], win, FALSE,
|
||||
GrabModeSync, keyboard_mode);
|
||||
GrabModeAsync, keyboard_mode);
|
||||
xerror_set_ignore(FALSE);
|
||||
if (xerror_occured)
|
||||
g_warning("failed to grab keycode %d modifiers %d", keycode, state);
|
||||
|
|
Loading…
Reference in a new issue