kwin/kcmkwin/kwindecoration
Roman Gilg d51b8dc093 [decorations] Let KDecoration plugins recommend a border size per default
Summary:
This is an alternative solution to T8707 and in comparision to D13276 a less
drastic change to KWin's default behavior.

Instead of changing the border size default for all KDecoration plugins by
switching the default from border size Normal to None introduce new
functionality, which allows a KDecoration plugin to recommend a border size in
its metadata. By default KWin listens for these recommendations and sets the
border size accordingly.

If there is no metadata recommending a border size, KWin falls back to the
current setting of Normal sized borders.

A user is able to override the recommendations from the KCM, which has been
extended accordingly.

Test Plan: Manually with adjusted metadata of Breeze.

Reviewers: #kwin, #plasma, #vdg, ngraham

Reviewed By: #vdg, ngraham

Subscribers: hpereiradacosta, filipf, anemeth, davidedmundson, abetts, graesslin, ngraham, zzag, kwin

Tags: #kwin

Maniphest Tasks: T8707

Differential Revision: https://phabricator.kde.org/D13284
2019-06-06 22:24:45 +02:00
..
declarative-plugin Update URLs to use https 2019-03-25 19:26:23 +01:00
package [decorations] Let KDecoration plugins recommend a border size per default 2019-06-06 22:24:45 +02:00
CMakeLists.txt Move knsrc files to the new location 2019-05-17 18:56:27 +02:00
decorationmodel.cpp [decorations] Let KDecoration plugins recommend a border size per default 2019-06-06 22:24:45 +02:00
decorationmodel.h [decorations] Let KDecoration plugins recommend a border size per default 2019-06-06 22:24:45 +02:00
kcm.cpp [decorations] Let KDecoration plugins recommend a border size per default 2019-06-06 22:24:45 +02:00
kcm.h [decorations] Let KDecoration plugins recommend a border size per default 2019-06-06 22:24:45 +02:00
kwindecoration.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2019-05-31 05:14:47 +02:00
Messages.sh
utils.cpp
utils.h
window-decorations.knsrc [kcmkwin/kwindecoration] Fix Get Hot New Stuff 2019-02-12 16:21:11 +01:00