]> Dogcows Code - chaz/openbox/commitdiff
use new functions to cancel key grabs
authorDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 21:56:27 +0000 (21:56 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 28 May 2007 21:56:27 +0000 (21:56 +0000)
openbox/focus.c

index 87f589f2d055cc24eeb2dc400662e24e20beb7c5..d60f5ac8d5a2e5be2921a41da74b24c71dc33be1 100644 (file)
@@ -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,
This page took 0.0313639999999999 seconds and 4 git commands to generate.