Skip to content

cursorsource: fix scaling with Xwayland

Xaver Hugl requested to merge work/zamundaaa/xwayland-cursor-scaling-only into master

Extracted from !3631 (merged), seems to fix the bug on its own too and can be backported.

Before this commit, the device pixel ratio of the cursor was set to ignore the Xwayland scale override, while the size of the cursor surface was scaled. This change removes the scaling of the cursor surface size, to make the cursor be no longer cut off in rendering.

BUG: 466094

Merge request reports

Loading