summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-04-08 15:11:31 -0400
committerLibravatar GitHub <noreply@github.com>2018-04-08 15:11:31 -0400
commit4493761716a37a0ecba596b33cfb7a6dba2d84ba (patch)
tree0174edd442d4cf11d44cd404bf8b9c0f8aa9768a /include
parentMerge pull request #1780 from emersion/fix-swaybar-hidpi-rounding (diff)
parentAdd input "identifier" map_to_output "identifier" (diff)
downloadsway-4493761716a37a0ecba596b33cfb7a6dba2d84ba.tar.gz
sway-4493761716a37a0ecba596b33cfb7a6dba2d84ba.tar.zst
sway-4493761716a37a0ecba596b33cfb7a6dba2d84ba.zip
Merge pull request #1781 from swaywm/map-to-output
Add input "identifier" map_to_output "identifier"
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/config.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index edb5a213..bc5d5412 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -192,6 +192,7 @@ sway_cmd input_cmd_drag_lock;
192sway_cmd input_cmd_dwt; 192sway_cmd input_cmd_dwt;
193sway_cmd input_cmd_events; 193sway_cmd input_cmd_events;
194sway_cmd input_cmd_left_handed; 194sway_cmd input_cmd_left_handed;
195sway_cmd input_cmd_map_to_output;
195sway_cmd input_cmd_middle_emulation; 196sway_cmd input_cmd_middle_emulation;
196sway_cmd input_cmd_natural_scroll; 197sway_cmd input_cmd_natural_scroll;
197sway_cmd input_cmd_pointer_accel; 198sway_cmd input_cmd_pointer_accel;
diff --git a/include/sway/config.h b/include/sway/config.h
index 91f772b5..ed49fbbd 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -52,7 +52,7 @@ struct sway_mode {
52}; 52};
53 53
54/** 54/**
55 * libinput options for input devices 55 * options for input devices
56 */ 56 */
57struct input_config { 57struct input_config {
58 char *identifier; 58 char *identifier;
@@ -75,6 +75,8 @@ struct input_config {
75 char *xkb_rules; 75 char *xkb_rules;
76 char *xkb_variant; 76 char *xkb_variant;
77 77
78 char *mapped_output;
79
78 bool capturable; 80 bool capturable;
79 struct wlr_box region; 81 struct wlr_box region;
80}; 82};