From 68a100bde36089b1879581891e9fbfbbb5f24eb6 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 11 Jun 2007 21:58:21 +0000 Subject: [PATCH] redundant if'ing --- openbox/event.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } -- 2.45.2