mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1067993, TabParent's Deactivate isn't called when window is lowered, r=smaug
This commit is contained in:
parent
d8ffb7f559
commit
fafddde230
@ -1612,6 +1612,7 @@ nsFocusManager::Blur(nsPIDOMWindow* aWindowToClear,
|
||||
widget->SetFocus(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// if the object being blurred is a remote browser, deactivate remote content
|
||||
if (TabParent* remote = TabParent::GetFrom(content)) {
|
||||
@ -1619,7 +1620,6 @@ nsFocusManager::Blur(nsPIDOMWindow* aWindowToClear,
|
||||
LOGFOCUS(("Remote browser deactivated"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool result = true;
|
||||
if (sendBlurEvent) {
|
||||
|
Loading…
Reference in New Issue
Block a user