diff --git a/openbox/keyboard.c b/openbox/keyboard.c index ba455955..2d0a5e94 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -164,10 +164,8 @@ gboolean keyboard_interactive_grab(guint state, ObClient *client, g_assert(action->data.any.interactive); if (!interactive_states) { - if (!grab_keyboard(TRUE)) { - ob_debug("grab KEYBOARD failed\n"); + if (!grab_keyboard(TRUE)) return FALSE; - } } s = g_new(ObInteractiveState, 1);