mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1067993, TabParent's Deactivate isn't called when window is lowered, r=smaug
This commit is contained in:
parent
41486cb970
commit
5a3a792f4d
@ -1612,12 +1612,12 @@ 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)) {
|
||||
remote->Deactivate();
|
||||
LOGFOCUS(("Remote browser deactivated"));
|
||||
}
|
||||
if (TabParent* remote = TabParent::GetFrom(content)) {
|
||||
remote->Deactivate();
|
||||
LOGFOCUS(("Remote browser deactivated"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user