Merge pull request #1480 from avdv/xkb-load-exotic-rules

sway/language: Load exotic xkb rules too
This commit is contained in:
Alex 2022-03-13 22:32:00 +01:00 committed by GitHub
commit 5c1c07a035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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