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