Skip to content

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

Fushan Wen requested to merge work/fuf/446627-again into master

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 device coordinate system on X11 to make windows show in right positions in the pager applet.

BUG: 446627 FIXED-IN: 5.27.8

CC @lahseven

Before After
图片 图片
Edited by Fushan Wen

Merge request reports