summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}