From d19c184b2d83e3f129a085dee721d3fd22b003f1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 24 Apr 2007 19:55:48 +0000 Subject: [PATCH] set the client's user_time when it gets activated --- openbox/client.c | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.39.2