summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 3e069464..c9e09f54 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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);