[Libreoffice-commits] online.git: loolwsd/ChildProcessSession.cpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Tue May 10 03:46:48 UTC 2016
loolwsd/ChildProcessSession.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
New commits:
commit 074da45f0ab3f1f08c9adc0e6689f31da44a997a
Author: Ashod Nakashian <ashod.nakashian at 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 <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at 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;
More information about the Libreoffice-commits
mailing list