From: Dana Jansens Date: Mon, 11 Jun 2007 21:58:21 +0000 (+0000) Subject: redundant if'ing X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=68a100bde36089b1879581891e9fbfbbb5f24eb6;p=chaz%2Fopenbox redundant if'ing --- diff --git a/openbox/event.c b/openbox/event.c index 2d44bc51..9dd78c17 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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); }