diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-02-01 09:26:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-01 09:26:30 +0100 |
commit | 47271552b0f5ae5dbba6efd3882e5cce2d83070e (patch) | |
tree | ca0bff9d26283b0fa790855e7379e8da2e89166b /sway/input/cursor.c | |
parent | 204e1f47122d5a48865802dd1fb94fe0f05c2401 (diff) | |
parent | ebe5399ed6bfa59f5f5d289bf3d46b08f60787b3 (diff) |
Merge pull request #3550 from RedSoxFan/seat-pointer-constraint
pointer_constraint: change to a seat subcommand
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 2 |
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) { void sway_cursor_constrain(struct sway_cursor *cursor, struct wlr_pointer_constraint_v1 *constraint) { struct seat_config *config = seat_get_config(cursor->seat); - if (!config->allow_constrain) { + if (config->allow_constrain == CONSTRAIN_DISABLE) { return; } |