fixed small off-by-one error (shade/unshade)
svn path=/trunk/kdebase/kwin/; revision=78542
This commit is contained in:
parent
8190667206
commit
87b6129e3f
1 changed files with 2 additions and 2 deletions
|
@ -1274,8 +1274,8 @@ QSize Client::sizeForWindowSize( const QSize& wsize, bool ignore_height) const
|
|||
h = QMAX( minimumHeight(), h );
|
||||
|
||||
int ww = wwrap->width();
|
||||
int wh = 0;
|
||||
if ( !wwrap->testWState( WState_ForceHide ) )
|
||||
int wh = 1;
|
||||
if ( !wwrap->isHidden() )
|
||||
wh = wwrap->height();
|
||||
|
||||
if ( ignore_height && wsize.height() == 0 )
|
||||
|
|
Loading…
Reference in a new issue