kwin/plugins/platforms
David Edmundson 2cc42ecc12 DRM cursor scaling
Summary:
We pass the buffer scale of the cursor through QImage::devicePixelRatio.

When copying the cursor with QPainter use Qt's in-built functionality to
handle resizing the cursor pixmap as necessary to match the screen.

As we're now resizing the cursor, the hotspot needs translating from
logical to device co-ordinates.

Test Plan: Used with associated patches

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D13605
2018-06-23 18:15:41 +01:00
..
drm DRM cursor scaling 2018-06-23 18:15:41 +01:00
fbdev fb_backend_qpainter_backend: Use logind to determine if the session is active. 2018-04-24 14:18:45 +02:00
hwcomposer SVN_SILENT made messages (.desktop file) - always resolve ours 2018-04-22 07:33:45 +02:00
virtual [platforms/virtual] Make VirtualOutput non-copyable 2018-04-16 02:48:48 +03:00
wayland Use XdgShell Unstable V6 in nested wayland platform 2018-05-20 15:37:19 +02:00
x11 Support cursor scaling in X windowed backend 2018-06-23 18:15:41 +01:00
CMakeLists.txt Require libinput and udev 2018-02-04 15:00:42 +01:00