From 6ad4f495d6ce005275720f7f09007fcdffc7da42 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 5 Mar 2026 17:07:46 +0530 Subject: [PATCH] Have scroll events when mouse if over titlebar delivered to the window belonging to the titlebar --- kitty/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/mouse.c b/kitty/mouse.c index 813996e14..841680379 100644 --- a/kitty/mouse.c +++ b/kitty/mouse.c @@ -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