plugins/wobblywindows: Use .toAlignedRect() instead of .toRect()

.toRect() doesn't work by rounding left/top/right/bottom edge coordinates. .toAlignedRect() is better suited for computing repaint regions.

CCBUG because I can't reproduce the bug.

CCBUG: 500185

(cherry picked from commit 8daa0aec)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports

Loading