sway/language: Load exotic xkb rules too

This commit is contained in:
Claudio Bley 2022-03-13 09:40:32 +01:00
parent 91339f6ad4
commit caa24f0647

View File

@ -179,8 +179,7 @@ auto Language::init_layouts_map(const std::vector<std::string>& used_layouts) ->
} }
Language::XKBContext::XKBContext() { Language::XKBContext::XKBContext() {
context_ = rxkb_context_new(RXKB_CONTEXT_NO_DEFAULT_INCLUDES); context_ = rxkb_context_new(RXKB_CONTEXT_LOAD_EXOTIC_RULES);
rxkb_context_include_path_append_default(context_);
rxkb_context_parse_default_ruleset(context_); rxkb_context_parse_default_ruleset(context_);
} }