summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2007-05-26 23:30:59 +0000
committerMikael Magnusson <mikachu@comhem.se>2007-05-26 23:30:59 +0000
commitfb952d863a2358e77d0937ccee88f10094e30462 (patch)
tree8636a52b3fdf6dbf44ba71a377d3afcd895b5ab3
parenta38012f2fff30aa48913c5020e72f537c742542f (diff)
don't fake an enter event if where still in the same window
-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);
}
}