]> Dogcows Code - chaz/openbox/commitdiff
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 2ca9b5182fdd6fa8a6716f93fcb2425812ab1b60..51e93c17c22de79a5985f76dad52e8a761e5e06f 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();
This page took 0.027343 seconds and 4 git commands to generate.