use new functions to cancel key grabs
This commit is contained in:
parent
c7731ecb8d
commit
6e5d9c5337
1 changed files with 1 additions and 2 deletions
|
@ -190,8 +190,7 @@ void focus_nothing()
|
||||||
actions should not rely on being able to move focus during an
|
actions should not rely on being able to move focus during an
|
||||||
interactive grab.
|
interactive grab.
|
||||||
*/
|
*/
|
||||||
if (keyboard_interactively_grabbed())
|
event_cancel_all_key_grabs();
|
||||||
keyboard_interactive_cancel();
|
|
||||||
|
|
||||||
/* when nothing will be focused, send focus to the backup target */
|
/* when nothing will be focused, send focus to the backup target */
|
||||||
XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
|
XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,
|
||||||
|
|
Loading…
Reference in a new issue