use new functions to cancel key grabs
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
2 deletions(-)
jump to
M
openbox/focus.c
→
openbox/focus.c
@@ -190,8 +190,7 @@
actions should not rely on being able to move focus during an interactive grab. */ - if (keyboard_interactively_grabbed()) - keyboard_interactive_cancel(); + event_cancel_all_key_grabs(); /* when nothing will be focused, send focus to the backup target */ XSetInputFocus(ob_display, screen_support_win, RevertToPointerRoot,