mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 23:31:02 +00:00
[_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:
parent
ab9bbf557c
commit
5b30b8c04d
1 changed files with 8 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue