summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-21 21:48:27 +0000
committerDana Jansens <danakj@orodu.net>2007-05-21 21:48:27 +0000
commitbca4fe6c8b8d1ab8b2c9273149f48fd9cd4e0f4d (patch)
treefcb6e7a59ba82e0f45a33c7c3f2d3ca2f0067a2b /openbox
parent1d93dc961b0f8fb47da6611cbf3a1e3028af901d (diff)
maybe the user time stuff should be more like other wm implementtions and less in the way
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 9b89b103..e4804bcc 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -3488,12 +3488,9 @@ void client_activate(ObClient *self, gboolean here, gboolean user)
self->window, event_curtime, last_time,
(user ? "user" : "application"), allow);
- if (allow) {
- if (event_curtime != CurrentTime)
- self->user_time = event_curtime;
-
+ if (allow)
client_present(self, here, TRUE);
- } else
+ else
/* don't focus it but tell the user it wants attention */
client_hilite(self, TRUE);
}