Add the modifiers relevant for global shortcuts into the input Events
ClosedPublic

Authored by graesslin on Dec 26 2016, 1:25 PM.

Details

Summary

Prior to this change various event filters performed deep calls into
Xkb class to figure out the modifiers relevant for global shortcuts (aka
consumed modifiers). This shows that this is a general useful
information which should be available to all input event filters
directly.

Thus it's now added to the input events and exposed directly in
InputRedirection so that the calls into Xkb are no longer needed.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin updated this revision to Diff 9364.Dec 26 2016, 1:25 PM
graesslin retitled this revision from to Add the modifiers relevant for global shortcuts into the input Events.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: KWin, Plasma on Wayland.
Restricted Application added projects: Plasma on Wayland, KWin. · View Herald TranscriptDec 26 2016, 1:25 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
sebas accepted this revision.Dec 27 2016, 4:34 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.Dec 27 2016, 4:34 PM
This revision was automatically updated to reflect the committed changes.