mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 888615 - Back out changeset 2250a49996a2 because of an incomplete commit message.
This commit is contained in:
parent
51271e9c91
commit
a03621a375
@ -2266,7 +2266,7 @@ nsChildView::UpdateTitlebarCGContext()
|
||||
[NSGraphicsContext setCurrentContext:context];
|
||||
|
||||
// Draw the title string.
|
||||
if ([window wantsTitleDrawn] && [frameView respondsToSelector:@selector(_drawTitleBar:)]) {
|
||||
if ([frameView respondsToSelector:@selector(_drawTitleBar:)]) {
|
||||
[frameView _drawTitleBar:[frameView bounds]];
|
||||
}
|
||||
|
||||
@ -3710,12 +3710,7 @@ NSEvent* gLastDragMouseDownEvent = nil;
|
||||
|
||||
- (void)drawTitleString
|
||||
{
|
||||
BaseWindow* window = (BaseWindow*)[self window];
|
||||
if (![window wantsTitleDrawn]) {
|
||||
return;
|
||||
}
|
||||
|
||||
NSView* frameView = [[window contentView] superview];
|
||||
NSView* frameView = [[[self window] contentView] superview];
|
||||
if (![frameView respondsToSelector:@selector(_drawTitleBar:)]) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user