[Differential] [Request, 139 lines] D3119: Add way to hide/show cursor in Platform

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Thu Oct 20 08:25:13 UTC 2016


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
  Some platforms support to hide and show the cursor. This will be needed
  by e.g. the zoom effect which currently only provides this functionality
  on X11.
  
  This change introduces a new method in the Platform to hide and show the
  cursor. The methods need to be called balanced and the implementation
  takes care of only showing again if all hide got matched by a show.
  
  The actual hiding and showing is performed in the platform plugins. So
  far the DRM and X11/Standalone platforms implement the required
  functionality, though other platforms probably could implement as well.

REPOSITORY
  rKWIN KWin

BRANCH
  platform-cursor-show-hide

REVISION DETAIL
  https://phabricator.kde.org/D3119

AFFECTED FILES
  autotests/integration/start_test.cpp
  platform.cpp
  platform.h
  plugins/platforms/drm/drm_backend.cpp
  plugins/platforms/drm/drm_backend.h
  plugins/platforms/x11/standalone/x11_platform.cpp
  plugins/platforms/x11/standalone/x11_platform.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20161020/60b8ccff/attachment.html>


More information about the Plasma-devel mailing list