aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index e51d3e38..106b1910 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -1458,7 +1458,7 @@ void handle_pointer_constraint(struct wl_listener *listener, void *data) {
1458void sway_cursor_constrain(struct sway_cursor *cursor, 1458void sway_cursor_constrain(struct sway_cursor *cursor,
1459 struct wlr_pointer_constraint_v1 *constraint) { 1459 struct wlr_pointer_constraint_v1 *constraint) {
1460 struct seat_config *config = seat_get_config(cursor->seat); 1460 struct seat_config *config = seat_get_config(cursor->seat);
1461 if (!config->allow_constrain) { 1461 if (config->allow_constrain == CONSTRAIN_DISABLE) {
1462 return; 1462 return;
1463 } 1463 }
1464 1464