Anonymous - 2024-01-20

Originally posted by: paulmcauley

Maybe the KDecoration API could also be updated so that a QPainterPath of the desired window shape could be passed from the decoration to KDecoration to clip the window to the desired shape.

(there is already a QRegion blurRegion for setting the blur region shape which does something similar - there are problems with the blurRegion though as a QRegion only contains integer values, which causes aliasing on scaled window corners on Wayland which needs floating point -- see bug https://bugs.kde.org/show_bug.cgi?id=453229 - if I get time I want to fix that by using a QPainterPath instead)