[Differential] [Request, 57 lines] D2622: Support compose key in xkbcommon integration
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Mon Aug 29 15:12:51 UTC 2016
graesslin created this revision.
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY
The Xkb class now creates a compose key table and a state object and
feeds all key presses through the compose state machine.
Xkb now tracks the latest keysym which is provided through new method
currentKeysym. This is now used when creating a QKeyEvent instead of
passing the key code to the xkb state. With that the keysym can also
be updated through the compose state system.
This only affects KWin internal usage where text is composed, e.g. the
present windows effect filter. Wayland clients do not gain compose key
support, though.
Minimum xkbcommon version raised to 0.5 as compose key support is new
in that version.
TEST PLAN
Enabled compose key support in keymap and verified through DebugConsole
REPOSITORY
rKWIN KWin
BRANCH
compose-key-support
REVISION DETAIL
https://phabricator.kde.org/D2622
AFFECTED FILES
CMakeLists.txt
keyboard_input.cpp
keyboard_input.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #kwin, #plasma_on_wayland
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160829/9732c718/attachment.html>
More information about the Plasma-devel
mailing list