Have scroll events when mouse if over titlebar delivered to the window belonging to the titlebar
This commit is contained in:
parent
5599a5c5ca
commit
6ad4f495d6
1 changed files with 1 additions and 1 deletions
|
|
@ -1400,7 +1400,7 @@ scroll_event(const GLFWScrollEvent *ev) {
|
|||
osw->mouse_x = mouse_x * osw->viewport_x_ratio;
|
||||
osw->mouse_y = mouse_y * osw->viewport_y_ratio;
|
||||
}
|
||||
MouseRegion r = mouse_region(false, false);
|
||||
MouseRegion r = mouse_region(false, true);
|
||||
Window *w = r.window;
|
||||
if (!w && !r.in_tab_bar) {
|
||||
// fallback to last active window
|
||||
|
|
|
|||
Loading…
Reference in a new issue