[platforms/x11/standalone] Pass kxkbconfig to Xkb prior to reconfigure
ClosedPublic

Authored by graesslin on Jan 4 2019, 5:40 PM.

Details

Summary

This ensures that KWin gets the same keyboard layout config as is
configured in the session and not a default config.

BUG: 402764

Test Plan

Xephyr to verify the config is applied, otherwise completely
untested. I don't have an X session.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Jan 4 2019, 5:40 PM
Restricted Application added a project: KWin. · View Herald TranscriptJan 4 2019, 5:40 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin requested review of this revision.Jan 4 2019, 5:40 PM
zzag accepted this revision.Jan 4 2019, 5:49 PM
zzag added a subscriber: zzag.

It works on X11, though only after restart.

This revision is now accepted and ready to land.Jan 4 2019, 5:49 PM
In D17967#386458, @zzag wrote:

It works on X11, though only after restart.

Thanks for testing. I already feared that it only works after restart. Though the way from kcm to KWin must exist. Will investigate, but is a topic for another review request.

This revision was automatically updated to reflect the committed changes.