From: Mikael Magnusson Date: Sat, 26 May 2007 23:30:59 +0000 (+0000) Subject: don't fake an enter event if where still in the same window X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fb952d863a2358e77d0937ccee88f10094e30462;p=chaz%2Fopenbox don't fake an enter event if where still in the same window --- 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); } }