From f4de058b7b12a00364c139d2f394ae46edffa0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Sun, 30 Sep 2001 20:52:59 +0000 Subject: [PATCH] Made the kde1 client compile when QT_NO_COMPAT is defined svn path=/trunk/kdebase/kwin/; revision=115977 --- clients/kde1/kde1client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/kde1/kde1client.cpp b/clients/kde1/kde1client.cpp index 5b868b0da1..56e87cc57c 100644 --- a/clients/kde1/kde1client.cpp +++ b/clients/kde1/kde1client.cpp @@ -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 ) );