diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-15 12:33:33 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-15 13:48:04 -0500 |
| commit | 343ca097f7321983e62cac14791d62e1331d8d87 (patch) | |
| tree | 3c298b0cc032641c53dd89513f34a6af8beccd41 /openbox/client.c | |
| parent | f011ce4c994830079a72bfe522ea0c0ff1185ffd (diff) | |
dont trust the _NET_ACTIVE_WINDOW timestamp. (fixes bug #4519)
if we decide to focus the window, do not use their provided timestamp.
chromium gives a very old timestamp, which means we think we're focusing the
window but it never actually gets focus, leading to inconsistent behaviour by
openbox. use the timestamp for making decisions about passing focus if you
want (we dont right now), but not for the XSetInputFocus call.
Diffstat (limited to 'openbox/client.c')
| -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 968a4585..08ce6f37 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -722,7 +722,7 @@ static gboolean client_can_steal_focus(ObClient *self, Time steal_time, /* This is focus stealing prevention */ ob_debug_type(OB_DEBUG_FOCUS, - "Want to focus new window 0x%x at time %u " + "Want to focus window 0x%x at time %u " "launched at %u (last user interaction time %u)", self->window, steal_time, launch_time, event_last_user_time); |
