diff --git a/openbox/keyboard.c b/openbox/keyboard.c index 18ca37f7..2c97b93c 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -248,8 +248,10 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client) done = TRUE; else */if (e->xkey.keycode == ob_keycode(OB_KEY_ESCAPE)) cancel = done = TRUE; - } else if (e->type == ButtonPress) - cancel = done = TRUE; + } else if (e->type == ButtonPress) { + cancel = FALSE; + done = TRUE; + } if (done) { keyboard_interactive_end(e->xkey.state, cancel, e->xkey.time,TRUE);