loolwsd/ChildProcessSession.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
New commits: commit e7d2ed499fdadc9afc21dd524cefeb662c2e3f52 Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk> Date: Sat May 7 23:56:04 2016 -0400 loolwsd: more notifications to replay on re-activating clients Change-Id: Ieb91eee0cb4ff66cd6bea129039f8fe328939888 Reviewed-on: https://gerrit.libreoffice.org/24749 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 db9424d..10183ac 100644 --- a/loolwsd/ChildProcessSession.cpp +++ b/loolwsd/ChildProcessSession.cpp @@ -82,6 +82,10 @@ public: // Cache important notifications to replay them when our client // goes inactive and loses them. if (nType == LOK_CALLBACK_INVALIDATE_VISIBLE_CURSOR || + nType == LOK_CALLBACK_CURSOR_VISIBLE || + nType == LOK_CALLBACK_CELL_CURSOR || + nType == LOK_CALLBACK_CELL_FORMULA || + nType == LOK_CALLBACK_GRAPHIC_SELECTION || nType == LOK_CALLBACK_TEXT_SELECTION || nType == LOK_CALLBACK_TEXT_SELECTION_START || nType == LOK_CALLBACK_TEXT_SELECTION_END || @@ -369,6 +373,18 @@ bool ChildProcessSession::_handleInput(const char *buffer, int length) case LOK_CALLBACK_TEXT_SELECTION_END: sendTextFrame("textselectionend: " + pair.second); break; + case LOK_CALLBACK_CURSOR_VISIBLE: + sendTextFrame("cursorvisible: " + pair.second); + break; + case LOK_CALLBACK_GRAPHIC_SELECTION: + sendTextFrame("graphicselection: " + pair.second); + break; + case LOK_CALLBACK_CELL_CURSOR: + sendTextFrame("cellcursor: " + pair.second); + break; + case LOK_CALLBACK_CELL_FORMULA: + sendTextFrame("cellformula: " + pair.second); + break; case LOK_CALLBACK_DOCUMENT_SIZE_CHANGED: getStatus("", 0); getPartPageRectangles("", 0); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits