From: Dana Jansens Date: Thu, 17 May 2007 02:23:35 +0000 (+0000) Subject: kill enter events without using pointer grabs X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=3c590a5851877c0b0205bb107da5d8e9318409c7;p=chaz%2Fopenbox kill enter events without using pointer grabs --- 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;