fvogt created this revision. fvogt added reviewers: Plasma, graesslin. Restricted Application added a project: KWin. Restricted Application added subscribers: KWin, kwin. fvogt requested review of this revision. Restricted Application edited projects, added Plasma; removed KWin.
REVISION 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. REPOSITORY R108 KWin BRANCH master REVISION DETAIL https://phabricator.kde.org/D9873 AFFECTED FILES xkb.cpp xkb.h To: fvogt, #plasma, graesslin Cc: kwin, plasma-devel, #kwin, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart