From: tokyo4j Date: Sat, 2 Aug 2025 11:10:09 +0000 (+0900) Subject: cursor: fix Scroll mousebinds not inhibited with ToggleKeybinds X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=ca8d98e80f25ba8d1fd9576f4774aa0ab67fb469;p=proto%2Flabwc.git cursor: fix Scroll mousebinds not inhibited with ToggleKeybinds fixup for 024ab280 --- 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