don't run axis bindings when locked

This commit is contained in:
save196
2026-09-21 01:06:08 +03:00
parent 40b0ae76ae
commit fa400c5d3d
+2
View File
@@ -663,6 +663,7 @@ axisnotify(struct wl_listener *listener, void *data)
wlr_idle_notifier_v1_notify_activity(idle_notifier, seat);
if (!locked) {
if (event->orientation == WL_POINTER_AXIS_VERTICAL_SCROLL)
adir = event->delta > 0 ? AxisDown : AxisUp;
else
@@ -675,6 +676,7 @@ axisnotify(struct wl_listener *listener, void *data)
return;
}
}
}
/* Notify the client with pointer focus of the axis event. */
wlr_seat_pointer_notify_axis(seat,