From bca4fe6c8b8d1ab8b2c9273149f48fd9cd4e0f4d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 21 May 2007 21:48:27 +0000 Subject: [PATCH] maybe the user time stuff should be more like other wm implementtions and less in the way --- openbox/client.c | 7 ++----- 1 file 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); } -- 2.39.2