[Differential] [Request, 8 lines] D1006: [kcms] Adjust keyboard kcm so that it works on Wayland
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Mon Feb 22 07:17:14 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
REVISION SUMMARY
So far the keyboard kcm was forced to X11 only. But that is not required,
also on Wayland xkb is used for keyboard layouts. Thus everything which
is not X11 specific can also work on Wayland. In fact KWin reads the
keyboard layout information from the configuration file this kcm writes
to.
The important change here is that a default fallback rule name (evdev)
is used. On Wayland we are not yet able to resolve the rule name thus
the complete UI was disabled. With this change the UI is configurable
and works - one can change the layout in KWin.
Of course in the long run this needs better Wayland integration to
properly resolve the rule name.
REPOSITORY
rPLASMADESKTOP Plasma Desktop
BRANCH
kcm-keyboard-wayland
REVISION DETAIL
https://phabricator.kde.org/D1006
AFFECTED FILES
kcms/keyboard/kcm_keyboard.desktop
kcms/keyboard/xkb_rules.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma
Cc: plasma-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160222/cb3ea846/attachment.html>
More information about the Plasma-devel
mailing list