D13128: Make sure ungrab keyboard request is processed before emitting shortcut
Sontol Bonggol
noreply at phabricator.kde.org
Sat May 26 04:00:20 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180526/a9e54b50/attachment.html>
More information about the Kde-frameworks-devel
mailing list