make clicks end inetractive actions but not cancel them ! so annoying !

This commit is contained in:
Dana Jansens 2007-05-04 17:57:14 +00:00
parent 15ec358151
commit 32630da2bf

View file

@ -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);