diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-04-22 14:07:29 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-04-22 14:07:29 +0000 |
| commit | ff43372da760c84e92ca7a7e9648d09fcfba2cf0 (patch) | |
| tree | 138ab9559dd512ea0d6e998bcf1ee2baab0497d9 /openbox/action.c | |
| parent | a70633d42af849e4de2288ec48fa6abe726a484e (diff) | |
only pass thru events when the menu is open, don't for other stuff
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/action.c b/openbox/action.c index 5456c80e..fc6f5a78 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -41,7 +41,7 @@ inline void client_action_start(union ActionData *data) { if (config_focus_follow) if (data->any.context != OB_FRAME_CONTEXT_CLIENT && !data->any.button) - grab_pointer(TRUE, OB_CURSOR_NONE); + grab_pointer(TRUE, FALSE, OB_CURSOR_NONE); } inline void client_action_end(union ActionData *data) @@ -49,7 +49,7 @@ inline void client_action_end(union ActionData *data) if (config_focus_follow) if (data->any.context != OB_FRAME_CONTEXT_CLIENT) { if (!data->any.button) { - grab_pointer(FALSE, OB_CURSOR_NONE); + grab_pointer(FALSE, FALSE, OB_CURSOR_NONE); } else { ObClient *c; |
