do not crash
svn path=/trunk/kdebase/kwin/; revision=62082
This commit is contained in:
parent
87931a071a
commit
cca94688ee
1 changed files with 2 additions and 0 deletions
|
@ -595,6 +595,8 @@ void KDEClient::updateActiveBuffer( bool force )
|
||||||
|
|
||||||
if( !force && lastWidth == titlebar->geometry().width())
|
if( !force && lastWidth == titlebar->geometry().width())
|
||||||
return;
|
return;
|
||||||
|
if ( titlebar->geometry().width() <= 0 || titlebar->geometry().height() <= 0 )
|
||||||
|
return;
|
||||||
lastWidth = titlebar->geometry().width();
|
lastWidth = titlebar->geometry().width();
|
||||||
|
|
||||||
activeBuffer.resize(titlebar->geometry().width(),
|
activeBuffer.resize(titlebar->geometry().width(),
|
||||||
|
|
Loading…
Reference in a new issue