Make sure ungrab keyboard request is processed before emitting shortcut

Authored by sontolbonggol on Jun 1 2018, 9:44 PM.

Description

Make sure ungrab keyboard request is processed before emitting shortcut

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.

BUG: 394689

Reviewers: Frameworks, Plasma, mck182, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: elvisangelaccio, davidedmundson, fvogt, kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D13128

Details

Committed
elvisangelaccioJun 1 2018, 9:44 PM
Reviewer
Plasma
Differential Revision
D13128: Make sure ungrab keyboard request is processed before emitting shortcut
Parents
R268:bbcf664fe674: Use override
Branches
Unknown
Tags
Unknown