make clicks end inetractive actions but not cancel them ! so annoying !
This commit is contained in:
parent
15ec358151
commit
32630da2bf
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue