From: Dana Jansens Date: Tue, 24 Apr 2007 19:55:48 +0000 (+0000) Subject: set the client's user_time when it gets activated X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=d19c184b2d83e3f129a085dee721d3fd22b003f1;p=chaz%2Fopenbox set the client's user_time when it gets activated --- diff --git a/openbox/client.c b/openbox/client.c index 2ca9b518..51e93c17 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3114,6 +3114,9 @@ void client_activate(ObClient *self, gboolean here, gboolean user) { client_hilite(self, TRUE); } else { + if (event_curtime != CurrentTime) + self->user_time = event_curtime; + /* if using focus_delay, stop the timer now so that focus doesn't go moving on us */ event_halt_focus_delay();