mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-11 09:52:13 +03:00
Forgot to change one call site for switch_focus_to
This commit is contained in:
parent
f8cf49a90c
commit
e1a0a195a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user