From ca8d98e80f25ba8d1fd9576f4774aa0ab67fb469 Mon Sep 17 00:00:00 2001 From: tokyo4j Date: Sat, 2 Aug 2025 20:10:09 +0900 Subject: [PATCH] cursor: fix Scroll mousebinds not inhibited with ToggleKeybinds fixup for 024ab280 --- src/input/cursor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/input/cursor.c b/src/input/cursor.c index 0fc2bbd0..062c3465 100644 --- a/src/input/cursor.c +++ b/src/input/cursor.c @@ -1346,6 +1346,10 @@ process_cursor_axis(struct server *server, enum wl_pointer_axis orientation, if (direction != LAB_DIRECTION_INVALID) { struct mousebind *mousebind; wl_list_for_each(mousebind, &rc.mousebinds, link) { + if (ctx.type == LAB_SSD_CLIENT + && view_inhibits_actions(ctx.view, &mousebind->actions)) { + continue; + } if (ssd_part_contains(mousebind->context, ctx.type) && mousebind->direction == direction && modifiers == mousebind->modifiers