[Libreoffice-commits] online.git: loolwsd/ChildSession.cpp

Ashod Nakashian ashod.nakashian at collabora.co.uk
Tue Nov 1 13:00:47 UTC 2016


 loolwsd/ChildSession.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 56b1f224989efa8a02ab33ce68671484b1ca243c
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date:   Tue Nov 1 08:59:55 2016 -0400

    loolwsd: replay state change events when re-activating a client
    
    Change-Id: Id2181c8426712320a9fffacd7d8d350f1476580a
    Reviewed-on: https://gerrit.libreoffice.org/30465
    Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
    Tested-by: Ashod Nakashian <ashnakash at gmail.com>

diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp
index e1a5bbe..3606439 100644
--- a/loolwsd/ChildSession.cpp
+++ b/loolwsd/ChildSession.cpp
@@ -978,7 +978,8 @@ void ChildSession::loKitCallback(const int nType, const std::string& rPayload)
         nType == LOK_CALLBACK_CELL_VIEW_CURSOR ||
         nType == LOK_CALLBACK_GRAPHIC_VIEW_SELECTION ||
         nType == LOK_CALLBACK_VIEW_CURSOR_VISIBLE ||
-        nType == LOK_CALLBACK_VIEW_LOCK)
+        nType == LOK_CALLBACK_VIEW_LOCK ||
+        nType == LOK_CALLBACK_STATE_CHANGED)
     {
         auto lock(getLock());
 


More information about the Libreoffice-commits mailing list