mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 514648 - Non-resizable windows don't have resizers, even though -[NSWindow showsResizeIndicator] pretends they do. r=josh
--HG-- extra : rebase_source : fa03586a85d48a1ef5dd6db4ac8aecaf81477216
This commit is contained in:
parent
4ad22e5a56
commit
b7c2bcf0fa
@ -1182,7 +1182,8 @@ PRBool nsChildView::ShowsResizeIndicator(nsIntRect* aResizerRect)
|
||||
while ((superView = [topLevelView superview]))
|
||||
topLevelView = superView;
|
||||
|
||||
if (![[topLevelView window] showsResizeIndicator])
|
||||
if (![[topLevelView window] showsResizeIndicator] ||
|
||||
!([[topLevelView window] styleMask] & NSResizableWindowMask))
|
||||
return PR_FALSE;
|
||||
|
||||
if (aResizerRect) {
|
||||
|
Loading…
Reference in New Issue
Block a user