mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02:00
@@ -1261,6 +1261,7 @@ mouse_event(const int button, int modifiers, int action) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
MouseRegion r = mouse_region(true, true);
|
MouseRegion r = mouse_region(true, true);
|
||||||
|
w = r.window;
|
||||||
set_currently_hovered_window(w && !r.window_border && !r.in_title_bar ? w->id : 0, modifiers);
|
set_currently_hovered_window(w && !r.window_border && !r.in_title_bar ? w->id : 0, modifiers);
|
||||||
|
|
||||||
if (r.in_tab_bar || global_state.tab_being_dragged.id) {
|
if (r.in_tab_bar || global_state.tab_being_dragged.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user