diff options
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index 085f7b92..87123289 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -51,6 +51,12 @@ struct sway_mode { list_t *keycode_bindings; }; +struct input_config_mapped_from_region { + double x1, y1; + double x2, y2; + bool mm; +}; + /** * options for input devices */ @@ -77,7 +83,8 @@ struct input_config { char *xkb_rules; char *xkb_variant; - char *mapped_output; + struct input_config_mapped_from_region *mapped_from_region; + char *mapped_to_output; bool capturable; struct wlr_box region; |