Even if a window is maximized, it doesn't necessarily mean it can be
always un-maximized. CCMAIL: 84743-done@bugs.kde.org svn path=/trunk/kdebase/kwin/; revision=329099
This commit is contained in:
parent
49de9c7cb0
commit
afb63436c5
1 changed files with 2 additions and 2 deletions
|
@ -1535,10 +1535,10 @@ bool Client::isResizable() const
|
||||||
*/
|
*/
|
||||||
bool Client::isMaximizable() const
|
bool Client::isMaximizable() const
|
||||||
{
|
{
|
||||||
if ( maximizeMode() != MaximizeRestore )
|
|
||||||
return TRUE;
|
|
||||||
if( !isMovable() || !isResizable() || isToolbar()) // SELI isToolbar() ?
|
if( !isMovable() || !isResizable() || isToolbar()) // SELI isToolbar() ?
|
||||||
return false;
|
return false;
|
||||||
|
if ( maximizeMode() != MaximizeRestore )
|
||||||
|
return TRUE;
|
||||||
QSize max = maxSize();
|
QSize max = maxSize();
|
||||||
#if 0
|
#if 0
|
||||||
if( max.width() < 32767 || max.height() < 32767 ) // sizes are 16bit with X
|
if( max.width() < 32767 || max.height() < 32767 ) // sizes are 16bit with X
|
||||||
|
|
Loading…
Reference in a new issue