diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-19 17:59:16 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-19 17:59:16 +0000 |
| commit | fb3d2033ba5c9edc198296793dde59341577b9b0 (patch) | |
| tree | 9a3d9642d97149aac79a43fdb17ba4eb5e091591 /openbox/client.c | |
| parent | 7db7d62ceb5064cd204444669f718397707b11d9 (diff) | |
not passing timestamps sometimes and not others. set event_curtime when client messages provide a timestamp.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c index 7c29f9f2..e09aff53 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -3080,7 +3080,7 @@ static void client_unfocus(ObClient *self) } } -void client_activate(ObClient *self, gboolean here, gboolean user, Time time) +void client_activate(ObClient *self, gboolean here, gboolean user) { /* XXX do some stuff here if user is false to determine if we really want to activate it or not (a parent or group member is currently @@ -3088,9 +3088,9 @@ void client_activate(ObClient *self, gboolean here, gboolean user, Time time) */ ob_debug("Want to activate window 0x%x with time %u (last time %u), " "source=%s\n", - self->window, time, client_last_user_time, + self->window, event_curtime, client_last_user_time, (user ? "user" : "application")); - if (!user && time && time < client_last_user_time) + if (!user && event_curtime && event_curtime < client_last_user_time) client_hilite(self, TRUE); else { if (client_normal(self) && screen_showing_desktop) |
