graesslin created this revision. graesslin added reviewers: KWin, Plasma on Wayland. Restricted Application added subscribers: kwin, plasma-devel. Restricted Application added projects: Plasma on Wayland, KWin.
REVISION SUMMARY The implementation delegates to the Platform to perform the actual show/hide of the cursor image. This replaces the implementation in the zoom effect which so far directly interacted with xfixes to show/hide the cursor. This is now provided by the x11/standalone platform. And due to this change the zoom effect can now properly hide the cursor on platform DRM (wayland) as well. TEST PLAN Zoom effect on Wayland hides the cursor REPOSITORY rKWIN KWin BRANCH effects-show-hide-cursor REVISION DETAIL https://phabricator.kde.org/D3120 AFFECTED FILES autotests/mock_effectshandler.h effects.cpp effects.h effects/zoom/zoom.cpp libkwineffects/kwineffects.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas