kwin/plugins
Martin Flöser 4bfeeb3084 [platforms/drm] Fix cursor hotspot for inverted landscape rotation
Summary:
This change fixes the hotspot calculation by introducing a dedicated
matrix to map the hotspot.

To better test the hotspot a small test application is added. The app
renders a red point at the cursor position and uses a cross for cursor
with the hotspot position being transparent. So if KWin renders the
cursor at the correct position a red point is visible in the center of
the cross. The test app supports several cursor hotspot positions:
 * center (default)
 * top left
 * top right
 * bottom right
 * bottom left

To switch between the variants press the space key.

Test Plan:
Rotated screen, used test app to verify the hotspot is
correct. Also scaled display, still correct

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8668
2017-11-06 16:48:44 +01:00
..
idletime [wayland] Fix heap-use-after-free in idle time plugin 2016-02-02 12:00:12 +01:00
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2017-11-06 04:38:04 +01:00
kglobalaccel
platforms [platforms/drm] Fix cursor hotspot for inverted landscape rotation 2017-11-06 16:48:44 +01:00
qpa Require Qt 5.9 2017-10-31 12:45:21 +01:00
scenes SVN_SILENT made messages (.desktop file) - always resolve ours 2017-11-04 06:13:10 +01:00
CMakeLists.txt Move SceneXRender into a plugin 2017-09-01 17:42:28 +02:00