summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2015-11-02 14:09:25 +0100
committerAndrzej Hunt <andrzej.hunt@collabora.com>2015-11-05 12:52:05 +0100
commit09e823e750a98a5cd7d504c4558016f8ce1b935b (patch)
treedc9d07661fa5d2b1990e6af361af6e6aa916bfd1
parentb46bc1bcf6200c1ce2df7cbadbddc6c28695a101 (diff)
loolwsd: tdf#94605 handle LOK_CALLBACK_CELL_CURSOR
-rw-r--r--loolwsd/LOKitClient.cpp1
-rw-r--r--loolwsd/LOOLSession.cpp3
2 files changed, 4 insertions, 0 deletions
diff --git a/loolwsd/LOKitClient.cpp b/loolwsd/LOKitClient.cpp
index 1e912af6d..481c3bedf 100644
--- a/loolwsd/LOKitClient.cpp
+++ b/loolwsd/LOKitClient.cpp
@@ -51,6 +51,7 @@ extern "C"
CASE(TEXT_SELECTION_END);
CASE(CURSOR_VISIBLE);
CASE(GRAPHIC_SELECTION);
+ CASE(CELL_CURSOR);
CASE(HYPERLINK_CLICKED);
CASE(STATE_CHANGED);
CASE(STATUS_INDICATOR_START);
diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index 32b4b9f88..d1d3d9e31 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -868,6 +868,9 @@ extern "C"
case LOK_CALLBACK_GRAPHIC_SELECTION:
srv->sendTextFrame("graphicselection: " + std::string(pPayload));
break;
+ case LOK_CALLBACK_CELL_CURSOR:
+ srv->sendTextFrame("cellcursor: " + std::string(pPayload));
+ break;
case LOK_CALLBACK_HYPERLINK_CLICKED:
srv->sendTextFrame("hyperlinkclicked: " + std::string(pPayload));
break;