From 7cc8ab6d6c4e7ebbfee832b3d8d8fd86623d89fc Mon Sep 17 00:00:00 2001 From: pudiva chip lĂ­quida Date: Wed, 24 Aug 2022 00:13:12 +0100 Subject: Support libinput's 1.21 new dwtp option Support the new dwtp (disable while trackpointing) option introduced in libinput 1.21, allowing users to control whether the trackpoint (like those in Thinkpads, but not only) should be disabled while using the keyboard/touchpad. See: https://gitlab.freedesktop.org/libinput/libinput/-/issues/731 --- include/sway/commands.h | 1 + include/sway/config.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/sway') diff --git a/include/sway/commands.h b/include/sway/commands.h index 07941bb4..7fad26a1 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h @@ -252,6 +252,7 @@ sway_cmd input_cmd_click_method; sway_cmd input_cmd_drag; sway_cmd input_cmd_drag_lock; sway_cmd input_cmd_dwt; +sway_cmd input_cmd_dwtp; sway_cmd input_cmd_events; sway_cmd input_cmd_left_handed; sway_cmd input_cmd_map_from_region; diff --git a/include/sway/config.h b/include/sway/config.h index 68c06846..190ab13b 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -150,6 +150,7 @@ struct input_config { int drag; int drag_lock; int dwt; + int dwtp; int left_handed; int middle_emulation; int natural_scroll; -- cgit v1.2.3