mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 18:37:50 +00:00
Merge branch 'fix-mouse-release-other-window' of https://github.com/eepp/kitty
This commit is contained in:
commit
2cc779b667
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ open_url(Window *w) {
|
|||
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) {
|
||||
if (window_idx != t->active_window && !is_release) {
|
||||
call_boss(switch_focus_to, "I", window_idx);
|
||||
}
|
||||
Screen *screen = w->render_data.screen;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue