Skip to content

Commit

Permalink
Merge branch 'jb52415' into 'master'
Browse files Browse the repository at this point in the history
[sailfishos][embedlite] Schudule view update only when activating. JB#52415

See merge request mer-core/gecko-dev!204
  • Loading branch information
rainemak committed Dec 10, 2020
2 parents 35f0c8a + 7510137 commit 3a51757
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion embedding/embedlite/embedshared/EmbedLiteViewBaseChild.cpp
Expand Up @@ -587,7 +587,9 @@ mozilla::ipc::IPCResult EmbedLiteViewBaseChild::RecvSetIsActive(const bool &aIsA
nsCOMPtr<nsIBaseWindow> baseWindow = do_QueryInterface(mWebBrowser);
baseWindow->SetVisibility(aIsActive);

RecvScheduleUpdate();
if (aIsActive) {
RecvScheduleUpdate();
}
return IPC_OK();
}

Expand Down

0 comments on commit 3a51757

Please sign in to comment.