input: enable user xkb configs with cap_sys_nice

This commit is contained in:
Ronan Pigott 2022-12-14 19:12:36 -07:00 committed by Simon Ser
parent 3061999ec5
commit 2f2cdd60de
3 changed files with 3 additions and 3 deletions

View file

@ -754,7 +754,7 @@ static void handle_xkb_context_log(struct xkb_context *context,
struct xkb_keymap *sway_keyboard_compile_keymap(struct input_config *ic,
char **error) {
struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_SECURE_GETENV);
if (!sway_assert(context, "cannot create XKB context")) {
return NULL;
}