aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-24 19:39:29 +0100
committerLibravatar emersion <contact@emersion.fr>2018-04-26 10:53:47 +0100
commitff61df17ffd358b03663a35fe7140e51e1ee98fc (patch)
tree3736887591d8464f577d2ad4a753a404d38d77ae /include/sway/config.h
parentMerge pull request #1863 from RyanDwyer/remove-workspace-layout (diff)
downloadsway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.tar.gz
sway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.tar.zst
sway-ff61df17ffd358b03663a35fe7140e51e1ee98fc.zip
Add map_from_region command
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;