kwin/plugins
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
..
idletime
kdecorations Workaround crash in Aurorae destruction 2018-06-20 09:39:29 +01:00
kglobalaccel [autotests] Support new way to run the tests without need to install 2017-11-21 20:34:52 +01:00
platforms DRM cursor scaling 2018-06-23 18:15:41 +01:00
qpa Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
scenes SVN_SILENT made messages (.desktop file) - always resolve ours 2018-06-19 06:02:57 +02:00
CMakeLists.txt