mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 783899, notify the view for resize events before the webshellwindow, fixing thunderbird window size when maximized, r=jmathies
This commit is contained in:
parent
4b70b5c1ef
commit
ad8b5ffc6a
@ -7082,13 +7082,15 @@ bool nsWindow::OnResize(nsIntRect &aWindowRect)
|
||||
}
|
||||
#endif
|
||||
|
||||
bool result = mWidgetListener ?
|
||||
mWidgetListener->WindowResized(this, aWindowRect.width, aWindowRect.height) : false;
|
||||
|
||||
// If there is an attached view, inform it as well as the normal widget listener.
|
||||
if (mAttachedWidgetListener) {
|
||||
mAttachedWidgetListener->WindowResized(this, aWindowRect.width, aWindowRect.height);
|
||||
return mAttachedWidgetListener->WindowResized(this, aWindowRect.width, aWindowRect.height);
|
||||
}
|
||||
|
||||
return mWidgetListener ?
|
||||
mWidgetListener->WindowResized(this, aWindowRect.width, aWindowRect.height) : false;
|
||||
return result;
|
||||
}
|
||||
|
||||
bool nsWindow::OnHotKey(WPARAM wParam, LPARAM lParam)
|
||||
|
Loading…
Reference in New Issue
Block a user