kwin/tests
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
..
CMakeLists.txt [platforms/drm] Fix cursor hotspot for inverted landscape rotation 2017-11-06 16:48:44 +01:00
cursorhotspottest.cpp [platforms/drm] Fix cursor hotspot for inverted landscape rotation 2017-11-06 16:48:44 +01:00
inputmethodstest.qml Integrate QtVirtualKeyboard into KWin/Wayland 2016-06-02 11:26:53 +02:00
libinputtest.cpp Support for relative pointer motion events 2016-10-12 11:26:46 +02:00
normalhintsbasesizetest.cpp
pointergesturestest.cpp Forward pointer gestures to Wayland server 2016-11-07 13:45:08 +01:00
pointergesturestest.qml Forward pointer gestures to Wayland server 2016-11-07 13:45:08 +01:00
screenedgeshowtest.cpp Remove KWin::display from kwinglobals 2016-11-16 18:00:00 +01:00
unmapdestroytest.qml
waylandclienttest.cpp
waylandclienttest.h
x11shadowreader.cpp [tests] Fix build - missing include to QDebug 2016-07-13 10:13:47 +02:00