]> Dogcows Code - chaz/openbox/commitdiff
can't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user...
authorDana Jansens <danakj@orodu.net>
Wed, 28 Mar 2007 19:57:07 +0000 (19:57 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 28 Mar 2007 19:57:07 +0000 (19:57 +0000)
openbox/client.c

index 3e069464218c5ba1bfcb7b724b753bcc322dfff0..c9e09f54fd0d2b1ef76aee8719ed537bb88e5f23 100644 (file)
@@ -272,7 +272,7 @@ void client_manage(Window window)
     self->wmstate = WithdrawnState; /* make sure it gets updated first time */
     self->layer = -1;
     self->desktop = screen_num_desktops; /* always an invalid value */
-    self->user_time = ~0; /* maximum value, always newer than the real time */
+    self->user_time = client_last_user_time;
 
     client_get_all(self);
     client_restore_session_state(self);
This page took 0.024683 seconds and 4 git commands to generate.