From eb770e88b7396e892898d6a71867d2a603e707ff Mon Sep 17 00:00:00 2001 From: Ed Younis Date: Fri, 12 Jul 2019 19:04:29 -0700 Subject: Implement input_cmd_xkb_file (#3999) Adds a new commend "xkb_file", which constructs the internal xkb_keymap from a xkb file rather than an RMLVO configuration. This allows greater flexibility when specifying xkb configurations. An xkb file can be dumped with the xkbcomp program. --- include/sway/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/sway/config.h') diff --git a/include/sway/config.h b/include/sway/config.h index c5558c0d..f1426453 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -138,6 +138,9 @@ struct input_config { char *xkb_options; char *xkb_rules; char *xkb_variant; + char *xkb_file; + + bool xkb_file_is_set; int xkb_numlock; int xkb_capslock; -- cgit v1.2.3-54-g00ecf