Manually take XKB_DEFAULT_{RULES,MODEL,LAYOUT,VARIANT,OPTIONS} into account
Summary: As kwin_wayland can have the CAP_SYS_NICE capability, libxkbcommon does not read environment variables (see secure_getenv). So process them here, in the same way xkb_context_sanitize_rule_names would. BUG: 388249 Test Plan: kwin_wayland has the capability set, keyboard layout is applied correctly. Reviewers: #plasma, graesslin Subscribers: kwin, plasma-devel, #kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D9873
parent
42b09935
Please register or sign in to comment