Diffusion KWin 8d9c4acf4dee

Provide kxbk config through kwinApp

Authored by graesslin on Jan 27 2017, 4:15 PM.

Description

Provide kxbk config through kwinApp

Summary:
So far KWin parsed the kxbkrc at multiple places (once in Xkb, once
in KeyboardLayout). This is now replaced by one KSharedConfigPtr hold
by kwinApp, just like the normal kwinrc. The KSharedConfigPtr is now
passed to Xkb.

As a nice side effect this makes it easier to test keyboard layout
changes as we can now properly mock the keyboard configuration. Thus
this change also comes with an autotest for loading keyboard layout
configuration. This is becoming more and more a need as we start
getting bug reports for layout specific issues like global shortcuts
not working with Greek layout.

Reviewers: KWin, Plasma on Wayland

Subscribers: plasma-devel, kwin

Tags: Plasma on Wayland, KWin

Differential Revision: https://phabricator.kde.org/D4315

Details

Committed
graesslinJan 30 2017, 4:04 PM
Differential Revision
D4315: Provide kxbk config through kwinApp
Parents
R108:c35aae2c4f88: Merge branch 'Plasma/5.9'
Branches
Unknown
Tags
Unknown