aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-15 05:22:51 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-15 05:22:51 -0500
commit9eecbb5d8a988a0dded57ead1982dd0121071454 (patch)
tree3b02befcc78d300a0fd84b5962b323d015369398 /include/sway
parent92fef27eaa0b52c9d37bdabff14ae21cd6660f46 (diff)
downloadsway-9eecbb5d8a988a0dded57ead1982dd0121071454.tar.xz
xkb config
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h5
-rw-r--r--include/sway/config.h6
2 files changed, 11 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index ce74e1ed..61950d0d 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -195,6 +195,11 @@ sway_cmd input_cmd_natural_scroll;
sway_cmd input_cmd_pointer_accel;
sway_cmd input_cmd_scroll_method;
sway_cmd input_cmd_tap;
+sway_cmd input_cmd_xkb_layout;
+sway_cmd input_cmd_xkb_model;
+sway_cmd input_cmd_xkb_options;
+sway_cmd input_cmd_xkb_rules;
+sway_cmd input_cmd_xkb_variant;
sway_cmd seat_cmd_attach;
diff --git a/include/sway/config.h b/include/sway/config.h
index 5df5d61e..9bfda259 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -67,6 +67,12 @@ struct input_config {
int send_events;
int tap;
+ char *xkb_layout;
+ char *xkb_model;
+ char *xkb_options;
+ char *xkb_rules;
+ char *xkb_variant;
+
bool capturable;
struct wlr_box region;
};