Use an InputEventSpy to notify about key and modifier state changes
ClosedPublic

Authored by graesslin on Jan 13 2017, 7:43 PM.

Details

Summary

Instead of emitting the key state changed and modifier state changed
signals from the right point before processing the events, let's use
an InputEventSpy to do that. The spies were introduced to be called
directly before the event processing. So the contract still holds.

Diff Detail

Repository
R108 KWin
Branch
event-spy-for-key-changes
Lint
No Linters Available
Unit
No Unit Test Coverage
graesslin updated this revision to Diff 10156.Jan 13 2017, 7:43 PM
graesslin retitled this revision from to Use an InputEventSpy to notify about key and modifier state changes.
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 TranscriptJan 13 2017, 7:43 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
bshah accepted this revision.Jan 18 2017, 3:42 PM
bshah added a reviewer: bshah.
This revision is now accepted and ready to land.Jan 18 2017, 3:42 PM
This revision was automatically updated to reflect the committed changes.