From 2f2cdd60def006f6d3cbe318f9edd7d68fcb239a Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Wed, 14 Dec 2022 19:12:36 -0700 Subject: input: enable user xkb configs with cap_sys_nice --- sway/input/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/input') diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c index 3f4a7289..45a588ec 100644 --- a/sway/input/keyboard.c +++ b/sway/input/keyboard.c @@ -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; } -- cgit v1.2.3