summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-06-11 21:58:21 +0000
committerDana Jansens <danakj@orodu.net>2007-06-11 21:58:21 +0000
commit68a100bde36089b1879581891e9fbfbbb5f24eb6 (patch)
treecd3eb1c2c7954f6474fc16c0d329a59b57971a3e /openbox
parente549a2d0e043f2a2a9002c641635d2bb48215134 (diff)
redundant if'ing
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c3
1 files changed, 1 insertions, 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);
}