summaryrefslogtreecommitdiff
path: root/openbox/keyboard.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-04 17:57:14 +0000
committerDana Jansens <danakj@orodu.net>2007-05-04 17:57:14 +0000
commit32630da2bf4f04097d85cb7ff674325e9da3eb54 (patch)
tree14e0ba66c7a0e0ce13aea4542cdfde7592b71ad2 /openbox/keyboard.c
parent15ec3581518d43532c0622fd7b116a6494122310 (diff)
make clicks end inetractive actions but not cancel them ! so annoying !
Diffstat (limited to 'openbox/keyboard.c')
-rw-r--r--openbox/keyboard.c6
1 files changed, 4 insertions, 2 deletions
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);