diff options
| author | Baltazár Radics <baltazar.radics@gmail.com> | 2024-12-08 16:05:42 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-12-08 16:15:48 +0100 |
| commit | 4eb86fce07dfe8cb9073739c84eb334cc0d262a2 (patch) | |
| tree | 3158abaea0294f066dfaeb13a0c2d249cb3425f1 | |
| parent | 1d783794b508e529bdc665296d690057c93997df (diff) | |
input/libinput: fix parsing input drag_lock command
Regression introduced by by b160fac9f7a
| -rw-r--r-- | sway/commands/input/drag_lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/drag_lock.c b/sway/commands/input/drag_lock.c index 55a39a64..915a7ada 100644 --- a/sway/commands/input/drag_lock.c +++ b/sway/commands/input/drag_lock.c @@ -16,7 +16,7 @@ struct cmd_results *input_cmd_drag_lock(int argc, char **argv) { } #if HAVE_LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY - if (strcmp(argv[0], "enabled_sticky")) { + if (strcmp(argv[0], "enabled_sticky") == 0) { ic->drag_lock = LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY; } else #endif |
