summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-26 02:21:27 +0000
committerDana Jansens <danakj@orodu.net>2007-04-26 02:21:27 +0000
commite896709c9098c73f40b5c7cffd95e7a253a0aacc (patch)
tree723455a87391b3c439133fce56053023ccd093c7 /openbox
parenta65b1d202f11a0e1e87b9343a9a620321e84f6cf (diff)
when windows disappear dont move focus from enter event, ever.
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 4b8e621b..4f71c7fb 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -483,11 +483,8 @@ void client_unmanage(ObClient *self)
/* flush to send the hide to the server quickly */
XFlush(ob_display);
- if (focus_client == self) {
- /* ignore enter events from the unmap so it doesnt mess with the focus
- */
- event_ignore_queued_enters();
- }
+ /* ignore enter events from the unmap so it doesnt mess with the focus */
+ event_ignore_queued_enters();
mouse_grab_for_client(self, FALSE);