Skip to content

馃崚applets/pager: fix window/screen size/position when using Qt scaling

Fushan Wen requested to merge work/fuf/cp446627 into Plasma/5.27

On X11, the rect returned from QScreen::virtualGeometry cannot be used as the whole screen rect. Instead, compute the whole screen rect manually, and map all windows/screens to the non-scaled coordinate system on X11 to make windows show in right positions in the pager applet.

BUG: 446627 FIXED-IN: 5.27.8

(cherry picked from commit 18b91601)

Edited by Fushan Wen

Merge request reports

Loading