<table><tr><td style="">graesslin created this revision.<br />graesslin added reviewers: KWin, Plasma on Wayland.<br />Restricted Application added subscribers: kwin, plasma-devel.<br />Restricted Application added projects: Plasma on Wayland, KWin.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4315" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>So far KWin parsed the kxbkrc at multiple places (once in Xkb, once<br />
in KeyboardLayout). This is now replaced by one KSharedConfigPtr hold<br />
by kwinApp, just like the normal kwinrc. The KSharedConfigPtr is now<br />
passed to Xkb.</p>
<p>As a nice side effect this makes it easier to test keyboard layout<br />
changes as we can now properly mock the keyboard configuration. Thus<br />
this change also comes with an autotest for loading keyboard layout<br />
configuration. This is becoming more and more a need as we start<br />
getting bug reports for layout specific issues like global shortcuts<br />
not working with Greek layout.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R108 KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>kxkb-config</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4315" rel="noreferrer">https://phabricator.kde.org/D4315</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/integration/CMakeLists.txt<br />
autotests/integration/keyboard_layout_test.cpp<br />
keyboard_input.cpp<br />
keyboard_input.h<br />
keyboard_layout.cpp<br />
main.cpp<br />
main.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, KWin, Plasma on Wayland<br /><strong>Cc: </strong>plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, eliasp, sebas<br /></div>