aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar pudiva chip lĂ­quida <pudiva@skylittlesystem.org>2022-08-24 00:13:12 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2022-10-30 10:56:34 +0100
commit7cc8ab6d6c4e7ebbfee832b3d8d8fd86623d89fc (patch)
treefaacab010de2a3ffdd76dcf3bab015bb708f42dc /include
parentcontainer_floating_set_default_size: Store workspace size box on the stack (diff)
downloadsway-7cc8ab6d6c4e7ebbfee832b3d8d8fd86623d89fc.tar.gz
sway-7cc8ab6d6c4e7ebbfee832b3d8d8fd86623d89fc.tar.zst
sway-7cc8ab6d6c4e7ebbfee832b3d8d8fd86623d89fc.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h1
2 files changed, 2 insertions, 0 deletions
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;
252sway_cmd input_cmd_drag; 252sway_cmd input_cmd_drag;
253sway_cmd input_cmd_drag_lock; 253sway_cmd input_cmd_drag_lock;
254sway_cmd input_cmd_dwt; 254sway_cmd input_cmd_dwt;
255sway_cmd input_cmd_dwtp;
255sway_cmd input_cmd_events; 256sway_cmd input_cmd_events;
256sway_cmd input_cmd_left_handed; 257sway_cmd input_cmd_left_handed;
257sway_cmd input_cmd_map_from_region; 258sway_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 {
150 int drag; 150 int drag;
151 int drag_lock; 151 int drag_lock;
152 int dwt; 152 int dwt;
153 int dwtp;
153 int left_handed; 154 int left_handed;
154 int middle_emulation; 155 int middle_emulation;
155 int natural_scroll; 156 int natural_scroll;