set the client's user_time when it gets activated
authorDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 19:55:48 +0000 (19:55 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 24 Apr 2007 19:55:48 +0000 (19:55 +0000)
openbox/client.c

index 2ca9b51..51e93c1 100644 (file)
@@ -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();