aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-15 05:22:51 -0500
committerLibravatar Tony Crisci <tony@dubstepdish.com>2017-12-15 05:22:51 -0500
commit9eecbb5d8a988a0dded57ead1982dd0121071454 (patch)
tree3b02befcc78d300a0fd84b5962b323d015369398 /include
parentbasic configuration (diff)
downloadsway-9eecbb5d8a988a0dded57ead1982dd0121071454.tar.gz
sway-9eecbb5d8a988a0dded57ead1982dd0121071454.tar.zst
sway-9eecbb5d8a988a0dded57ead1982dd0121071454.zip
xkb config
Diffstat (limited to 'include')
-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;
195sway_cmd input_cmd_pointer_accel; 195sway_cmd input_cmd_pointer_accel;
196sway_cmd input_cmd_scroll_method; 196sway_cmd input_cmd_scroll_method;
197sway_cmd input_cmd_tap; 197sway_cmd input_cmd_tap;
198sway_cmd input_cmd_xkb_layout;
199sway_cmd input_cmd_xkb_model;
200sway_cmd input_cmd_xkb_options;
201sway_cmd input_cmd_xkb_rules;
202sway_cmd input_cmd_xkb_variant;
198 203
199sway_cmd seat_cmd_attach; 204sway_cmd seat_cmd_attach;
200 205
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 {
67 int send_events; 67 int send_events;
68 int tap; 68 int tap;
69 69
70 char *xkb_layout;
71 char *xkb_model;
72 char *xkb_options;
73 char *xkb_rules;
74 char *xkb_variant;
75
70 bool capturable; 76 bool capturable;
71 struct wlr_box region; 77 struct wlr_box region;
72}; 78};