From a3f8c5c45a1ff323fc088cc5af49ab48d5679e54 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 9 May 2007 04:08:57 +0000 Subject: button presses which run actions during interactive actions will cancel the action. when you cancel switching desktops, don't go back, just stop. --- openbox/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/keyboard.c') diff --git a/openbox/keyboard.c b/openbox/keyboard.c index f6fe64e6..d8f35bcc 100644 --- a/openbox/keyboard.c +++ b/openbox/keyboard.c @@ -249,7 +249,7 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client) handled = TRUE; } } else if (e->type == ButtonPress) { - cancel = FALSE; + cancel = TRUE; done = TRUE; handled = FALSE; } -- cgit v1.2.3