Skip to content

[libtaskmanager] Send un-scaled icon geometry if using Qt scaling

When Plasma is using Qt scaling on X11, the icon geometry is scaled. However this does not match what KWin is expecting, which is geometry which is unscaled, in raw pixels.

Therefore when using Qt scaling on X11, we should un-scale the geometry before we send it to KWin.

This fixes minimize animations minimizing the window to the wrong location when using Qt scaling on X11.

BUG: 407458 FIXED-IN: 5.20

Merge request reports