cursor: fix Scroll mousebinds not inhibited with ToggleKeybinds

fixup for 024ab280
This commit is contained in:
tokyo4j 2025-08-02 20:10:09 +09:00 committed by Johan Malm
parent d5c03ab7fb
commit ca8d98e80f

View file

@ -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