prevent NW resizing when window has fixed position
CCBUG: 320908 REVIEW: 110895
This commit is contained in:
parent
6146fa39a4
commit
e4d9ea9209
1 changed files with 3 additions and 0 deletions
|
@ -1820,6 +1820,9 @@ bool Client::isResizable() const
|
|||
return false;
|
||||
if (rules()->checkSize(QSize()).isValid()) // forced size
|
||||
return false;
|
||||
if ((mode == PositionTop || mode == PositionTopLeft || mode == PositionTopRight ||
|
||||
mode == PositionLeft || mode == PositionBottomLeft) && rules()->checkPosition(invalidPoint) != invalidPoint)
|
||||
return false;
|
||||
|
||||
QSize min = tabGroup() ? tabGroup()->minSize() : minSize();
|
||||
QSize max = tabGroup() ? tabGroup()->maxSize() : maxSize();
|
||||
|
|
Loading…
Reference in a new issue