sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 4eb86fce07dfe8cb9073739c84eb334cc0d262a2
parent 1d783794b508e529bdc665296d690057c93997df
Author: Baltazár Radics <baltazar.radics@gmail.com>
Date:   Sun,  8 Dec 2024 16:05:42 +0100

input/libinput: fix parsing input drag_lock command

Regression introduced by by b160fac9f7a

Diffstat:
Msway/commands/input/drag_lock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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