https://bugs.kde.org/show_bug.cgi?id=424589

--- Comment #8 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 44dcb6d0a586cb9c5e3ba4d030a7b06bf00ca4f4 by Vlad Zahorodnii.
Committed on 27/10/2020 at 06:29.
Pushed by vladz into branch 'Plasma/5.20'.

platform/drm: Fix clipped HiDPI hardware cursors

If an output is rotated, we will compute a transform matrix for the
cursor plane to rotate its contents.

In order to compute that matrix we need the rect of the cursor in the
device-independent pixels, the scale factor and the output transform.

The problem is that we provide a rect of the cursor in the native
pixels. This may result in the cursor being partially or fully clipped.
(cherry picked from commit c8eeefbd7ddb6724c7b2ea8ec282046edd8e74c7)

M  +5    -0    cursor.cpp
M  +1    -0    cursor.h
M  +4    -3    plugins/platforms/drm/drm_output.cpp
M  +1    -2    plugins/scenes/opengl/scene_opengl.cpp

https://invent.kde.org/plasma/kwin/commit/44dcb6d0a586cb9c5e3ba4d030a7b06bf00ca4f4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to