diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-11 21:58:21 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-11 21:58:21 +0000 |
| commit | 68a100bde36089b1879581891e9fbfbbb5f24eb6 (patch) | |
| tree | cd3eb1c2c7954f6474fc16c0d329a59b57971a3e /openbox | |
| parent | e549a2d0e043f2a2a9002c641635d2bb48215134 (diff) | |
redundant if'ing
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 3 |
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); } |
