graesslin created this revision. graesslin added reviewers: Frameworks, Plasma, KWin. Restricted Application added projects: Plasma on Wayland, Frameworks. Restricted Application added a subscriber: plasma-devel.
REVISION 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. REPOSITORY R127 KWayland BRANCH idle-timeout-simulate-user-activity REVISION DETAIL https://phabricator.kde.org/D9510 AFFECTED FILES autotests/client/test_idle.cpp src/server/idle_interface.cpp src/server/idle_interface.h To: graesslin, #frameworks, #plasma, #kwin Cc: plasma-devel, leezu, ZrenBot, ngraham, alexeymin, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, eliasp, sebas, apol, mart, hein