aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-08 15:11:31 -0400
committerGitHub <noreply@github.com>2018-04-08 15:11:31 -0400
commit4493761716a37a0ecba596b33cfb7a6dba2d84ba (patch)
tree0174edd442d4cf11d44cd404bf8b9c0f8aa9768a /include
parent3679323ce558f15a319d3ace6dc1c2618b816566 (diff)
parent0e3ddf255ef56b7fe2b868232b80d04ea961120b (diff)
downloadsway-4493761716a37a0ecba596b33cfb7a6dba2d84ba.tar.xz
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;
sway_cmd input_cmd_dwt;
sway_cmd input_cmd_events;
sway_cmd input_cmd_left_handed;
+sway_cmd input_cmd_map_to_output;
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 91f772b5..ed49fbbd 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -52,7 +52,7 @@ struct sway_mode {
};
/**
- * libinput options for input devices
+ * options for input devices
*/
struct input_config {
char *identifier;
@@ -75,6 +75,8 @@ struct input_config {
char *xkb_rules;
char *xkb_variant;
+ char *mapped_output;
+
bool capturable;
struct wlr_box region;
};