Skip to content

Commit 0b5b8d3

Browse files
committed
ipc-json: handle LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY
1 parent 0bd8e89 commit 0b5b8d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sway/ipc-json.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,11 @@ static json_object *describe_libinput_device(struct libinput_device *device) {
914914
case LIBINPUT_CONFIG_DRAG_LOCK_DISABLED:
915915
drag_lock = "disabled";
916916
break;
917+
#ifdef LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY
918+
case LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY:
919+
drag_lock = "enabled_sticky";
920+
break;
921+
#endif
917922
}
918923
json_object_object_add(object, "tap_drag_lock",
919924
json_object_new_string(drag_lock));

0 commit comments

Comments
 (0)