Made the kde1 client compile when QT_NO_COMPAT is defined

svn path=/trunk/kdebase/kwin/; revision=115977
This commit is contained in:
Fredrik Höglund 2001-09-30 20:52:59 +00:00
parent d4d8c39824
commit f4de058b7b

View file

@ -343,7 +343,7 @@ void StdClient::resizeEvent( QResizeEvent* e)
// QRegion r = rr.subtract( QRect( t.x()+1, 0, t.width()-2, 1 ) );
// setMask( r );
if ( isVisibleToTLW() && !testWFlags( WNorthWestGravity )) {
if ( isVisibleToTLW() && !testWFlags( WStaticContents )) {
// manual clearing without the titlebar (we selected WResizeNoErase )
QRect cr( 2, 2, width()-4, height()- 4 );
erase( QRegion( cr ).subtract( t ) );