]> git.sur5r.net Git - i3/i3/blobdiff - src/x.c
Send last event timestamp with WM_TAKE_FOCUS msg
[i3/i3] / src / x.c
diff --git a/src/x.c b/src/x.c
index cd36a2834f03412a1b959b46a83125e6f26b7479..eca95da0b0f967315dee9fd375e4c3fc9867fbca 100644 (file)
--- a/src/x.c
+++ b/src/x.c
@@ -992,7 +992,7 @@ void x_push_changes(Con *con) {
                 focused->window->needs_take_focus) {
                 DLOG("Updating focus by sending WM_TAKE_FOCUS to window 0x%08x (focused: %p / %s)\n",
                      to_focus, focused, focused->name);
-                send_take_focus(to_focus);
+                send_take_focus(to_focus, last_timestamp);
                 set_focus = !focused->window->doesnt_accept_focus;
                 DLOG("set_focus = %d\n", set_focus);