Incorporated bug fixes from Benhur Stein.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2587 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1997-10-29 21:56:04 +00:00
parent fe084aeb94
commit 87966db359
8 changed files with 70 additions and 41 deletions

View file

@ -259,7 +259,10 @@ static NSRecursiveLock *gnustep_gui_nsview_lock = nil;
- (NSView *)opaqueAncestor
{
return nil;
if ([self isOpaque] || !super_view)
return self;
else
return [super_view opaqueAncestor];
}
- (void)removeFromSuperview
@ -833,7 +836,7 @@ static NSRecursiveLock *gnustep_gui_nsview_lock = nil;
NSRect superviewsVisibleRect
= [self convertRect:[super_view visibleRect] fromView:super_view];
return NSIntersectionRect (superviewsVisibleRect, frame);
return NSIntersectionRect (superviewsVisibleRect, bounds);
}
}