Add border size to the implementation of DecorationSettings
Not yet read from any config value.
This commit is contained in:
parent
c12199a8e0
commit
b12d11a06c
2 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,7 @@ namespace Decoration
|
|||
SettingsImpl::SettingsImpl(KDecoration2::DecorationSettings *parent)
|
||||
: QObject()
|
||||
, DecorationSettingsPrivate(parent)
|
||||
, m_borderSize(KDecoration2::BorderSize::Normal)
|
||||
{
|
||||
readSettings();
|
||||
|
||||
|
|
|
@ -39,6 +39,9 @@ public:
|
|||
virtual ~SettingsImpl();
|
||||
bool isAlphaChannelSupported() const override;
|
||||
bool isOnAllDesktopsAvailable() const override;
|
||||
KDecoration2::BorderSize borderSize() const override {
|
||||
return m_borderSize;
|
||||
}
|
||||
QList< KDecoration2::DecorationButtonType > decorationButtonsLeft() const override {
|
||||
return m_leftButtons;
|
||||
}
|
||||
|
@ -53,6 +56,7 @@ private:
|
|||
const QList< KDecoration2::DecorationButtonType > &defaultValue) const;
|
||||
QList< KDecoration2::DecorationButtonType > m_leftButtons;
|
||||
QList< KDecoration2::DecorationButtonType > m_rightButtons;
|
||||
KDecoration2::BorderSize m_borderSize;
|
||||
};
|
||||
} // Decoration
|
||||
} // KWin
|
||||
|
|
Loading…
Reference in a new issue