Skip to content

Move outline drawing to Decoration::paint

Akseli Lahtinen requested to merge work/cherry-pick-6171b3fe into Plasma/6.0

Instead of drawing window outline in the shadow drawcall, draw it on top of border instead.

This helps keeping the outline size in sync with the window size and has less glitches.

Also moved shadow a tiny bit under the window, so it wont snap from next of the window when using fractional scaling.

Should at the very least alleviate the issues, if not fix them all.

CCBUG:462005

(cherry picked from commit 6171b3fe)

Merge request reports