aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h9
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 {
51 list_t *keycode_bindings; 51 list_t *keycode_bindings;
52}; 52};
53 53
54struct input_config_mapped_from_region {
55 double x1, y1;
56 double x2, y2;
57 bool mm;
58};
59
54/** 60/**
55 * options for input devices 61 * options for input devices
56 */ 62 */
@@ -77,7 +83,8 @@ struct input_config {
77 char *xkb_rules; 83 char *xkb_rules;
78 char *xkb_variant; 84 char *xkb_variant;
79 85
80 char *mapped_output; 86 struct input_config_mapped_from_region *mapped_from_region;
87 char *mapped_to_output;
81 88
82 bool capturable; 89 bool capturable;
83 struct wlr_box region; 90 struct wlr_box region;