This commit is contained in:
Kovid Goyal 2026-03-08 20:11:30 +05:30
parent 8cd82698a6
commit db5453c291
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1261,7 +1261,7 @@ mouse_event(const int button, int modifiers, int action) {
return;
}
MouseRegion r = mouse_region(true, true);
w = r.window;
w = r.window; window_idx = r.window_idx;
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) {