desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 2584950681b6485bb0772d2719cafee678cf7583 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Fri Jan 14 21:17:14 2022 +0000 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Wed Jan 19 15:09:34 2022 +0100
lok: avoid duplicate notification of tab-stop and ruler changes. We get far too many of these, one per key-stroke sometimes. Change-Id: Ifecffe0a82c6eef6809e3a49883bb3f17cb4d170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128535 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 15476008abf2..168fd820d54d 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1484,6 +1484,8 @@ CallbackFlushHandler::CallbackFlushHandler(LibreOfficeKitDocument* pDocument, Li m_states.emplace(LOK_CALLBACK_CURSOR_VISIBLE, "NIL"); m_states.emplace(LOK_CALLBACK_SET_PART, "NIL"); m_states.emplace(LOK_CALLBACK_TABLE_SELECTED, "NIL"); + m_states.emplace(LOK_CALLBACK_TAB_STOP_LIST, "NIL"); + m_states.emplace(LOK_CALLBACK_RULER_UPDATE, "NIL"); } CallbackFlushHandler::~CallbackFlushHandler()