Fix for flash when closing windows.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2009-11-14 19:58:40 -08:00
parent 370efb35aa
commit b694437dba
+3 -3
View File
@@ -739,6 +739,9 @@ CPTexturedBackgroundWindowMask
*/
- (void)orderOut:(id)aSender
{
if ([self _sharesChromeWithPlatformWindow])
[_platformWindow orderOut:self];
if ([_delegate respondsToSelector:@selector(windowWillClose:)])
[_delegate windowWillClose:self];
@@ -750,9 +753,6 @@ CPTexturedBackgroundWindowMask
CPApp._keyWindow = nil;
}
if ([self _sharesChromeWithPlatformWindow])
[_platformWindow orderOut:self];
}
/*!