aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tadeo Kondrak <me@tadeo.ca>2019-10-28 18:26:00 -0600
committerLibravatar Simon Ser <contact@emersion.fr>2019-11-17 13:34:24 +0100
commit4829f1c26a521a4ef6659d91505112cc0be8d237 (patch)
tree4e0987c668241600401755630afe40c3879ca06a /include
parentxwayland: get_constraints using size hints (diff)
downloadsway-4829f1c26a521a4ef6659d91505112cc0be8d237.tar.gz
sway-4829f1c26a521a4ef6659d91505112cc0be8d237.tar.zst
sway-4829f1c26a521a4ef6659d91505112cc0be8d237.zip
Implement input map_to_region command
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 7ff3b651..d994ae9b 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -246,6 +246,7 @@ sway_cmd input_cmd_events;
246sway_cmd input_cmd_left_handed; 246sway_cmd input_cmd_left_handed;
247sway_cmd input_cmd_map_from_region; 247sway_cmd input_cmd_map_from_region;
248sway_cmd input_cmd_map_to_output; 248sway_cmd input_cmd_map_to_output;
249sway_cmd input_cmd_map_to_region;
249sway_cmd input_cmd_middle_emulation; 250sway_cmd input_cmd_middle_emulation;
250sway_cmd input_cmd_natural_scroll; 251sway_cmd input_cmd_natural_scroll;
251sway_cmd input_cmd_pointer_accel; 252sway_cmd input_cmd_pointer_accel;
diff --git a/include/sway/config.h b/include/sway/config.h
index 8c93c20d..0a010c6d 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -148,6 +148,7 @@ struct input_config {
148 148
149 struct input_config_mapped_from_region *mapped_from_region; 149 struct input_config_mapped_from_region *mapped_from_region;
150 char *mapped_to_output; 150 char *mapped_to_output;
151 struct wlr_box *mapped_to_region;
151 152
152 bool capturable; 153 bool capturable;
153 struct wlr_box region; 154 struct wlr_box region;