D6233: KKeyServer: fix handling of KeypadModifier.
David Faure
noreply at phabricator.kde.org
Fri Jun 16 07:29:37 UTC 2017
dfaure created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY
This required adding a new method symXModXToKeyQt since
symXToKeyQt (without modifier as input) has no way to find out
whether to use XK_KP_1 or XK_1. For this reason symXToKeyQt is now
deprecated.
Includes a unittest for keyQtToSymX, keyQtToModX and symXModXToKeyQt.
CCBUG: 183458
TEST PLAN
After porting kglobalaccel to KKeyServer::xcbKeyPressEventToQt,
the following global shortcuts were successfully tested:
Ctrl+1, Ctrl+Num+1, Ctrl+Num+/, Ctrl+F1, Ctrl+& (implicit shift)
REPOSITORY
R278 KWindowSystem
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D6233
AFFECTED FILES
autotests/CMakeLists.txt
autotests/kkeyserver_x11_unittest.cpp
src/platforms/xcb/kkeyserver.cpp
src/platforms/xcb/kkeyserver_x11.h
To: dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170616/12d6160f/attachment.html>
More information about the Kde-frameworks-devel
mailing list