Honor minimum and maximum size of InternalClient
Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D26831
This commit is contained in:
parent
2b120e07ca
commit
b8f1c09cfd
2 changed files with 12 additions and 0 deletions
|
@ -144,6 +144,16 @@ QSize InternalClient::clientSize() const
|
|||
return m_clientSize;
|
||||
}
|
||||
|
||||
QSize InternalClient::minSize() const
|
||||
{
|
||||
return m_internalWindow->minimumSize();
|
||||
}
|
||||
|
||||
QSize InternalClient::maxSize() const
|
||||
{
|
||||
return m_internalWindow->maximumSize();
|
||||
}
|
||||
|
||||
void InternalClient::debug(QDebug &stream) const
|
||||
{
|
||||
stream.nospace() << "\'InternalClient:" << m_internalWindow << "\'";
|
||||
|
|
|
@ -43,6 +43,8 @@ public:
|
|||
QString captionSuffix() const override;
|
||||
QPoint clientContentPos() const override;
|
||||
QSize clientSize() const override;
|
||||
QSize minSize() const override;
|
||||
QSize maxSize() const override;
|
||||
void debug(QDebug &stream) const override;
|
||||
QRect transparentRect() const override;
|
||||
NET::WindowType windowType(bool direct = false, int supported_types = 0) const override;
|
||||
|
|
Loading…
Reference in a new issue