diff options
author | Tadeo Kondrak <me@tadeo.ca> | 2019-10-28 18:26:00 -0600 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-17 13:34:24 +0100 |
commit | 4829f1c26a521a4ef6659d91505112cc0be8d237 (patch) | |
tree | 4e0987c668241600401755630afe40c3879ca06a /include | |
parent | xwayland: get_constraints using size hints (diff) | |
download | sway-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.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
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; | |||
246 | sway_cmd input_cmd_left_handed; | 246 | sway_cmd input_cmd_left_handed; |
247 | sway_cmd input_cmd_map_from_region; | 247 | sway_cmd input_cmd_map_from_region; |
248 | sway_cmd input_cmd_map_to_output; | 248 | sway_cmd input_cmd_map_to_output; |
249 | sway_cmd input_cmd_map_to_region; | ||
249 | sway_cmd input_cmd_middle_emulation; | 250 | sway_cmd input_cmd_middle_emulation; |
250 | sway_cmd input_cmd_natural_scroll; | 251 | sway_cmd input_cmd_natural_scroll; |
251 | sway_cmd input_cmd_pointer_accel; | 252 | sway_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; |