sontolbonggol created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. sontolbonggol requested review of this revision.
REVISION SUMMARY In some rare cases, the ungrab keyboard request is processed later than the action of the key shortcut. This can make the application that try to grab the keyboard (e.g. in kwin) fail to do so. The solution is to use ungrab_keyboard_checked() and xcb_request_check() before emitting the shortcut signal. REPOSITORY R268 KGlobalAccel REVISION DETAIL https://phabricator.kde.org/D13128 AFFECTED FILES src/runtime/plugins/xcb/kglobalaccel_x11.cpp To: sontolbonggol Cc: kde-frameworks-devel, michaelh, ngraham, bruns