diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-17 02:23:35 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-17 02:23:35 +0000 |
| commit | 3c590a5851877c0b0205bb107da5d8e9318409c7 (patch) | |
| tree | 0a8955713288dc3a312ef27b2c59376aa35b82b4 | |
| parent | 281c1edb4206b7e7874990b1bd5f66e1e7e43ede (diff) | |
kill enter events without using pointer grabs
| -rw-r--r-- | openbox/action.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/openbox/action.c b/openbox/action.c index 60af74b5..431b88c1 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -40,9 +40,6 @@ 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(FALSE, FALSE, OB_CURSOR_NONE); } inline void client_action_end(union ActionData *data) @@ -50,7 +47,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) { - ungrab_pointer(); + event_ignore_queued_enters(); } else { ObClient *c; |
