From e1a0a195a92f969bb67239fe38a59e9909668637 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 May 2020 21:39:26 +0530 Subject: [PATCH] Forgot to change one call site for switch_focus_to --- kitty/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/mouse.c b/kitty/mouse.c index 308f934b0..7453eed95 100644 --- a/kitty/mouse.c +++ b/kitty/mouse.c @@ -438,7 +438,7 @@ HANDLER(handle_button_event) { Tab *t = global_state.callback_os_window->tabs + global_state.callback_os_window->active_tab; bool is_release = !global_state.callback_os_window->mouse_button_pressed[button]; if (window_idx != t->active_window && !is_release) { - call_boss(switch_focus_to, "I", window_idx); + call_boss(switch_focus_to, "K", t->windows[window_idx].id); } Screen *screen = w->render_data.screen; if (!screen) return;