flushWindow updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1999-05-06 02:59:26 +00:00
parent a14735b7e9
commit 8a2bbcaae2
6 changed files with 33 additions and 19 deletions

View file

@ -159,6 +159,7 @@
[miniaturized_title release];
[miniaturized_image release];
[window_title release];
[rectsBeingDrawn release];
[super dealloc];
}
@ -217,7 +218,7 @@
/* rectBeingDrawn is variable used to optimize flushing the backing store.
It is set by NSGraphicContext during a lockFocus to tell NSWindow what
part a view is drawing in, so NSWindow only has to flush that portion */
rectBeingDrawn = NSZeroRect;
rectsBeingDrawn = [[NSMutableArray arrayWithCapacity: 10] retain];
NSDebugLog(@"NSWindow end of init\n");
return self;