[server] Add a method IdleInterface::simulateUserActivity
ClosedPublic

Authored by graesslin on Dec 26 2017, 7:25 PM.

Details

Summary

So far only the client was able to simulate user activity. This new
method allows the server to also simulate user activity on all created
idle timeouts. This is required by KWin to prevent idle timeouts when
the user interacts through KDE Connect's virtual touchpad. In that
situation the mouse pointer is used without updating the input time
stamp as it doesn't come from "real" input devices and thus the idle
timeout prevention is not activated.

Diff Detail

Repository
R127 KWayland
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.Dec 26 2017, 7:25 PM
Restricted Application added projects: Plasma on Wayland, Frameworks. · View Herald TranscriptDec 26 2017, 7:25 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
graesslin requested review of this revision.Dec 26 2017, 7:25 PM
davidedmundson accepted this revision.Dec 27 2017, 1:50 PM
This revision is now accepted and ready to land.Dec 27 2017, 1:50 PM
Restricted Application edited projects, added Plasma; removed Plasma on Wayland. · View Herald TranscriptDec 27 2017, 1:50 PM
This revision was automatically updated to reflect the committed changes.
Restricted Application edited projects, added Plasma on Wayland; removed Plasma. · View Herald TranscriptDec 29 2017, 4:42 PM