diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-28 19:57:07 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-28 19:57:07 +0000 |
| commit | 00ddaf06bbf9b0d1ca980c5bed1a56e8be1c5cb6 (patch) | |
| tree | 83c85bbccea46446a3fe4714f821412484811791 | |
| parent | 6372bd7c0d68793c2371ce7b6c1aa8017f913aee (diff) | |
can't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user the last_user_time as a default for new windows instead.
| -rw-r--r-- | openbox/client.c | 2 |
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); |
