From: Dana Jansens Date: Mon, 28 May 2007 21:56:27 +0000 (+0000) Subject: use new functions to cancel key grabs X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=6e5d9c533700685c0553c00654599f636921fd2e;p=chaz%2Fopenbox use new functions to cancel key grabs --- diff --git a/openbox/focus.c b/openbox/focus.c index 87f589f2..d60f5ac8 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -190,8 +190,7 @@ void focus_nothing() 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,