From: Dana Jansens Date: Fri, 4 May 2007 17:57:14 +0000 (+0000) Subject: make clicks end inetractive actions but not cancel them ! so annoying ! X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=32630da2bf4f04097d85cb7ff674325e9da3eb54;p=chaz%2Fopenbox make clicks end inetractive actions but not cancel them ! so annoying ! --- 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);