From 3c590a5851877c0b0205bb107da5d8e9318409c7 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 17 May 2007 02:23:35 +0000 Subject: [PATCH] kill enter events without using pointer grabs --- openbox/action.c | 5 +---- 1 file changed, 1 insertion(+), 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; -- 2.39.2