From fb952d863a2358e77d0937ccee88f10094e30462 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 26 May 2007 23:30:59 +0000 Subject: [PATCH] don't fake an enter event if where still in the same window --- openbox/action.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/action.c b/openbox/action.c index 39da39a5..d720f97d 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -57,7 +57,8 @@ static void client_action_end(union ActionData *data) event will come as a GrabNotify which is ignored, so this makes a fake enter event */ - if ((c = client_under_pointer())) + if ((c = client_under_pointer()) + && c != data->any.c) event_enter_client(c); } } -- 2.45.2