mirror of
https://github.com/swaywm/sway.git
synced 2025-01-12 15:26:24 +01:00
input/libinput: fix parsing input drag_lock command
Regression introduced by by b160fac9f7a
This commit is contained in:
parent
1d783794b5
commit
4eb86fce07
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue