[_initBackendWindow] always redisplay _wv

[setFrame:display:] set the frame of _wv directly if deferred.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7698 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2000-10-02 17:48:46 +00:00
parent ab9bbf557c
commit 5b30b8c04d

View file

@ -593,8 +593,8 @@ static NSMapTable* windowmaps = NULL;
{
frame.origin = NSZeroPoint;
[_wv setFrame: frame];
[_wv setNeedsDisplay: YES];
}
[_wv setNeedsDisplay: YES];
/* Ok, now add the drag types back */
if (dragTypes)
@ -1349,7 +1349,13 @@ static NSMapTable* windowmaps = NULL;
DPSplacewindow(GSCurrentContext(), frameRect.origin.x, frameRect.origin.y,
frameRect.size.width, frameRect.size.height, _windowNum);
else
_frame = frameRect;
{
_frame = frameRect;
frameRect = [NSWindow contentRectForFrameRect: frameRect
styleMask: _styleMask];
frameRect.origin = NSZeroPoint;
[_wv setFrame: frameRect];
}
if (flag)
[self display];