]> Dogcows Code - chaz/openbox/commitdiff
redundant if'ing
authorDana Jansens <danakj@orodu.net>
Mon, 11 Jun 2007 21:58:21 +0000 (21:58 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 11 Jun 2007 21:58:21 +0000 (21:58 +0000)
openbox/event.c

index 2d44bc51090f2880dd5926e1db477daa16a02459..9dd78c17934960dd6d4f3bce946b633445447b97 100644 (file)
@@ -1932,8 +1932,7 @@ void event_cancel_all_key_grabs()
            on from the KeyPress. If the grab is left on, and focus
            moves during that time, it will be NotifyWhileGrabbed, and
            applications like to ignore those! */
-        if (!keyboard_interactively_grabbed())
-            XUngrabKeyboard(ob_display, CurrentTime);
+        XUngrabKeyboard(ob_display, CurrentTime);
 
 }
 
This page took 0.02336 seconds and 4 git commands to generate.