It's provided by Decoration::settings() instead and not valid before
::init was invoked. Thus init is implemented and all the initialization
code is moved to init.
All corners should be round if not maximized. This is now done by
setting better clip regions to restrict the rendering to the
currently relevant area. So we don't render the background behind
the title area, instead the title area also renders a rounded rect.
The idea is to provide further global settings through the metadata
of the decoration plugin. First supported value is "blur" which takes
a boolean value indicating whether the decoration plugin wants the
blur behind effect to be active on it's decoration.
Breeze doesn't need blur, so the key with false would not be needed, but
for a reference plugin it makes sense to provide them all.
This new decoration plugin requires the new API which needs to
be built from:
kde:kdecoration
To view the decoration use the tool available in
kde:kdecoration-viewer
It is not yet integrated into KWin. One cannot use the decoration yet.