Update seat's timestamp after waking up screen through double tap
ClosedPublic

Authored by graesslin on May 2 2018, 6:53 PM.

Details

Summary

The drm platform has a special handling for touch events while the
screen is in dpms. All touch events are filtered out, but a double
tap wakes up the screen.

Due to the filtering out of the events the idle timers were not reset.
So if you only double tapped, the screen turned on, but not off again.

This change updates the timestamp after double tap, so that the idle
timers are restarted. All other events are still filtered out, to not
have "fake" events (e.g. smart phone in pocket) wake up the device.

BUG: 392754
FIXED-IN: 5.12.X

Test Plan

only compile tested

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 created this revision.May 2 2018, 6:53 PM
Restricted Application added a project: KWin. · View Herald TranscriptMay 2 2018, 6:53 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin requested review of this revision.May 2 2018, 6:53 PM
davidedmundson accepted this revision.May 2 2018, 7:00 PM
This revision is now accepted and ready to land.May 2 2018, 7:00 PM
This revision was automatically updated to reflect the committed changes.