summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
Diffstat (limited to 'openbox')
-rw-r--r--openbox/action.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}