cc:kwin@kde.org

svn path=/trunk/kdebase/kwin/; revision=308583
This commit is contained in:
Luciano Montanaro 2004-05-04 13:59:48 +00:00
parent b50995f3cf
commit b20cf8bf18

View file

@ -739,7 +739,9 @@ void B2Client::shadeChange()
QSize B2Client::minimumSize() const QSize B2Client::minimumSize() const
{ {
return QSize(64, 48); int left, right, top, bottom;
borders(left, right, top, bottom);
return QSize(left + right + 2 * buttonSize, top + bottom);
} }
void B2Client::resize(const QSize& s) void B2Client::resize(const QSize& s)