loolwsd/ChildProcessSession.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 074da45f0ab3f1f08c9adc0e6689f31da44a997a Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Mon May 9 23:41:37 2016 -0400 loolwsd: send both setpart and curpart when activating Change-Id: Ie717c70f34e94b768c5284ac31075e32335bd174 Reviewed-on: https://gerrit.libreoffice.org/24814 Reviewed-by: Ashod Nakashian <ashnak...@gmail.com> Tested-by: Ashod Nakashian <ashnak...@gmail.com> diff --git a/loolwsd/ChildProcessSession.cpp b/loolwsd/ChildProcessSession.cpp index 2a3c2e5..fdb1dc5 100644 --- a/loolwsd/ChildProcessSession.cpp +++ b/loolwsd/ChildProcessSession.cpp @@ -354,6 +354,7 @@ bool ChildProcessSession::_handleInput(const char *buffer, int length) const int curPart = _loKitDocument->pClass->getPart(_loKitDocument); sendTextFrame("curpart: part=" + std::to_string(curPart)); + sendTextFrame("setpart: part=" + std::to_string(curPart)); //TODO: Is the order of these important? for (const auto& pair : _lastDocStates) @@ -1128,10 +1129,6 @@ bool ChildProcessSession::setClientPart(const char* /*buffer*/, int /*length*/, _loKitDocument->pClass->setView(_loKitDocument, _viewId); _loKitDocument->pClass->setPart(_loKitDocument, part); - - //FIXME: We shouldn't need to do this. The client should - // know what to do when they change the part. - loKitCallback(LOK_CALLBACK_INVALIDATE_TILES, "EMPTY"); } return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits