Skip to content

Update seat timestamp in UserActivitySpy.

Xuetian Weng requested to merge work/seat-timestamp into master

Although IdleInterface::simulateUserActivity is called upon new event, KIdleTimePoller still relies on the seat timestamp to update the timestamp. Also, updating event timestamp in individual event handler could still be a problem:

  1. It could be missing in certain places
  2. timestamp should be updated regardless whether certain event filter handles it or not.

Move them all to UserActivitySpy as a centralized the place to update seat timestamp.

This also fixes screen autolocking issue when input method is used.

See !1816 (closed) for more context on the original motivation.

Merge request reports