diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-28 21:56:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-28 21:56:27 +0000 |
| commit | 6e5d9c533700685c0553c00654599f636921fd2e (patch) | |
| tree | 7877253c75fe5e367f9fc091c9eaf3a03edbf97a /openbox/focus.c | |
| parent | c7731ecb8dafc1f2edbfbfba24fb389d173cc47f (diff) | |
use new functions to cancel key grabs
Diffstat (limited to 'openbox/focus.c')
| -rw-r--r-- | openbox/focus.c | 3 |
1 files changed, 1 insertions, 2 deletions
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, |
