From d5dc910d6dc4ca3ef0e808a18dbe91b6098266cf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 5 Aug 2007 12:13:41 -0400 Subject: [PATCH] When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too. --- openbox/event.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbox/event.c b/openbox/event.c index 9c47c04a..eb678650 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1859,6 +1859,8 @@ static void focus_delay_client_dest(ObClient *client, gpointer data) void event_halt_focus_delay() { + /* ignore all enter events up till now */ + event_end_ignore_all_enters(1); ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func); } -- 2.44.0