From: Dana Jansens Date: Mon, 21 May 2007 21:48:27 +0000 (+0000) Subject: maybe the user time stuff should be more like other wm implementtions and less in... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=bca4fe6c8b8d1ab8b2c9273149f48fd9cd4e0f4d;p=chaz%2Fopenbox maybe the user time stuff should be more like other wm implementtions and less in the way --- 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); }