mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 588403. Part 2. Don't remove the area of popup widgets from the area to update on the parent widget. r=roc a=blocking final+
This commit is contained in:
parent
6b532c4152
commit
b83939c2a1
@ -609,7 +609,10 @@ nsViewManager::UpdateWidgetArea(nsView *aWidgetView, nsIWidget* aWidget,
|
||||
NS_ASSERTION(view != aWidgetView, "will recur infinitely");
|
||||
PRBool visible;
|
||||
childWidget->IsVisible(visible);
|
||||
if (view && visible && !IsWidgetDrawnByPlugin(childWidget, view)) {
|
||||
nsWindowType type;
|
||||
childWidget->GetWindowType(type);
|
||||
if (view && visible && !IsWidgetDrawnByPlugin(childWidget, view) &&
|
||||
type != eWindowType_popup) {
|
||||
// Don't mess with views that are in completely different view
|
||||
// manager trees
|
||||
nsViewManager* viewManager = view->GetViewManager();
|
||||
|
Loading…
Reference in New Issue
Block a user