aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/keyboard.c
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <ronan@rjp.ie>2022-12-14 19:12:36 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2023-01-11 11:32:09 +0100
commit2f2cdd60def006f6d3cbe318f9edd7d68fcb239a (patch)
treea6f980693918ff12a9c7b1c97b481473c3ad9360 /sway/input/keyboard.c
parentImprove tablet tool button handling. (diff)
downloadsway-2f2cdd60def006f6d3cbe318f9edd7d68fcb239a.tar.gz
sway-2f2cdd60def006f6d3cbe318f9edd7d68fcb239a.tar.zst
sway-2f2cdd60def006f6d3cbe318f9edd7d68fcb239a.zip
input: enable user xkb configs with cap_sys_nice
Diffstat (limited to 'sway/input/keyboard.c')
-rw-r--r--sway/input/keyboard.c2
1 files changed, 1 insertions, 1 deletions
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,
754 754
755struct xkb_keymap *sway_keyboard_compile_keymap(struct input_config *ic, 755struct xkb_keymap *sway_keyboard_compile_keymap(struct input_config *ic,
756 char **error) { 756 char **error) {
757 struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS); 757 struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_SECURE_GETENV);
758 if (!sway_assert(context, "cannot create XKB context")) { 758 if (!sway_assert(context, "cannot create XKB context")) {
759 return NULL; 759 return NULL;
760 } 760 }