Diffusion KWin b300229ca255

Don't scale resolution dependent cursor size twice

Authored by davidedmundson on Jun 1 2018, 3:28 PM.

Description

Don't scale resolution dependent cursor size twice

Summary:
If the env var is 0 we calculate the cursor size based on the
physical resolution.

The size is multiplied by the output scale.

Either would make sense, together does not and reuslts in kwin
having massive cursors.

This patch is for 5.13.

For master I intend to kill this concept of "resolution dependent size"
on the KCM. We then should do wayland scaling on cursors properly no matter
what size the user selects which will work better for when we have
multiple screens.

I have a WIP patch pending for the latter, but it's too big for here.
It still involves deleting this code.

Reviewers: Plasma, romangg

Reviewed By: Plasma, romangg

Subscribers: romangg, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D13267

Details

Committed
davidedmundsonJun 1 2018, 3:28 PM
Reviewer
Plasma
Differential Revision
D13267: Don't scale resolution dependent cursor size twice
Parents
R108:bed31e055785: Reparse rules config prior to update
Branches
Unknown
Tags
Unknown