diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-10-28 18:26:00 -0600 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-10-28 18:26:00 -0600 |
| commit | ce970c25a1c11a1918631beb79f17e8f8725f290 (patch) | |
| tree | 4e0987c668241600401755630afe40c3879ca06a /include | |
| parent | 6a1110d3ec7602c3c65d5792432ffec2622c1522 (diff) | |
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; 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; |
