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/sway | |
parent | df1a0468756b4a6d68cc5904313c4630edf14dd1 (diff) |
Implement input map_to_region command
Diffstat (limited to 'include/sway')
-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; sway_cmd input_cmd_left_handed; sway_cmd input_cmd_map_from_region; sway_cmd input_cmd_map_to_output; +sway_cmd input_cmd_map_to_region; sway_cmd input_cmd_middle_emulation; sway_cmd input_cmd_natural_scroll; 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 { struct input_config_mapped_from_region *mapped_from_region; char *mapped_to_output; + struct wlr_box *mapped_to_region; bool capturable; struct wlr_box region; |