[platforms/x11/standalone] Pass kxkbconfig to Xkb prior to reconfigure
Summary: This ensures that KWin gets the same keyboard layout config as is configured in the session and not a default config. BUG: 402764 FIXED-IN: 5.14.5 Test Plan: Xephyr to verify the config is applied, otherwise completely untested. I don't have an X session. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D17967
This commit is contained in:
parent
b6540c8eea
commit
0f489c3521
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ void X11StandalonePlatform::createPlatformCursor(QObject *parent)
|
|||
m_xinputIntegration->setCursor(c);
|
||||
// we know we have xkb already
|
||||
auto xkb = input()->keyboard()->xkb();
|
||||
xkb->setConfig(kwinApp()->kxkbConfig());
|
||||
xkb->reconfigure();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue