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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/d2867fc4a0ff
                   |                            |3ce566e9b5b3093d29836c16f7d
                   |                            |6
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit d2867fc4a0ff3ce566e9b5b3093d29836c16f7d6 by Vlad Zahorodnii.
Committed on 24/01/2022 at 19:39.
Pushed by vladz into branch 'master'.

plugins/screencast: Hard-code the maximum cursor size to (256, 256)

XCURSOR_SIZE * scale factor is not the way to compute the current cursor
size. For example, with breeze cursor theme at an output with a scale of
2 and cursor size 24, cursor images will have the effective size of (64, 64).

Also, the cursor can change when passing over user interface elements.

In order to accommodate for all of that, this change makes kwin reserve
enough of space for a cursor of size 256x256. "256" is a magical number
that comes from DRM. With many drivers, the maximum cursor size is 256.

M  +3    -5    src/plugins/screencast/screencaststream.cpp
M  +1    -0    src/plugins/screencast/screencaststream.h

https://invent.kde.org/plasma/kwin/commit/d2867fc4a0ff3ce566e9b5b3093d29836c16f7d6

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

Reply via email to