Skip to content

plugins/xcb: only handle modifier presses in XRecord

Yifan Zhu requested to merge work/fanzhuyifan/grabs into master

21949970 moved handling of all events to XRecord, which caused global shortcuts to trigger even when input is grabbed. Partially revert the change to handle normal key presses in nativeEventFilter. To preserve correct handling of modifier-only shortcuts, handle modifier presses in XRecord, and clears the modifier-only state for other presses.

BUG: 489113

Merge request reports

Loading