Commit b8f1c09c authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

Honor minimum and maximum size of InternalClient

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 2b120e07
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment