]> Dogcows Code - chaz/openbox/commitdiff
maybe the user time stuff should be more like other wm implementtions and less in...
authorDana Jansens <danakj@orodu.net>
Mon, 21 May 2007 21:48:27 +0000 (21:48 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 21 May 2007 21:48:27 +0000 (21:48 +0000)
openbox/client.c

index 9b89b10356cd4b947ebc1053692ce8f0bb9e5d5e..e4804bcc0872be2d69b28d61b374f6e64caa22e2 100644 (file)
@@ -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);
 }
This page took 0.026773 seconds and 4 git commands to generate.