redundant if'ing

This commit is contained in:
Dana Jansens 2007-06-11 21:58:21 +00:00
parent e549a2d0e0
commit 68a100bde3

View 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);
}