graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY A small helper class is added which manages inhibiting idle for the ShellClients. So far only very basic functionality is added. That is only the inhibition on the Surface is followed. It is not yet checked whether the ShellClient is visible at all. That needs some changes in ShellClient. BUG: 385956 FIXED-IN: 5.12 TEST PLAN New test case passes REPOSITORY R108 KWin BRANCH idle-inhibit REVISION DETAIL https://phabricator.kde.org/D8856 AFFECTED FILES CMakeLists.txt autotests/integration/CMakeLists.txt autotests/integration/idle_inhibition_test.cpp autotests/integration/kwin_wayland_test.h autotests/integration/test_helpers.cpp idle_inhibition.cpp idle_inhibition.h wayland_server.cpp To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart