summaryrefslogtreecommitdiff
path: root/openbox/keyboard.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-22 14:07:29 +0000
committerDana Jansens <danakj@orodu.net>2007-04-22 14:07:29 +0000
commitff43372da760c84e92ca7a7e9648d09fcfba2cf0 (patch)
tree138ab9559dd512ea0d6e998bcf1ee2baab0497d9 /openbox/keyboard.c
parenta70633d42af849e4de2288ec48fa6abe726a484e (diff)
only pass thru events when the menu is open, don't for other stuff
Diffstat (limited to 'openbox/keyboard.c')
-rw-r--r--openbox/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/keyboard.c b/openbox/keyboard.c
index 01b54b4c..248fd1ce 100644
--- a/openbox/keyboard.c
+++ b/openbox/keyboard.c
@@ -166,7 +166,7 @@ gboolean keyboard_interactive_grab(guint state, ObClient *client,
if (!interactive_states) {
if (!grab_keyboard(TRUE))
return FALSE;
- if (!grab_pointer(TRUE, OB_CURSOR_NONE)) {
+ if (!grab_pointer(TRUE, FALSE, OB_CURSOR_NONE)) {
grab_keyboard(FALSE);
return FALSE;
}
@@ -195,7 +195,7 @@ void keyboard_interactive_end(ObInteractiveState *s,
if (!interactive_states) {
grab_keyboard(FALSE);
- grab_pointer(FALSE, OB_CURSOR_NONE);
+ grab_pointer(FALSE, FALSE, OB_CURSOR_NONE);
keyboard_reset_chains();
}
}