Skip to content

Commit

Permalink
[sailfishos][embedlite] Schudule view update only when activating. JB…
Browse files Browse the repository at this point in the history
…#52415
  • Loading branch information
rainemak committed Dec 10, 2020
1 parent 35f0c8a commit 7510137
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 7510137

Please sign in to comment.