summaryrefslogtreecommitdiff
path: root/desktop/inc/lib
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-05-18 23:20:40 -0400
committerAshod Nakashian <ashnakash@gmail.com>2016-05-28 20:48:29 +0000
commit05b7ebaf98e0733bc8ce8c2ee7b297efb270baed (patch)
treec78edbaecf3c3e3a3b3d866a2ce4a952f6f6d2cb /desktop/inc/lib
parent06c54eabd692849b2da923f54a97e1ccdfa2ac30 (diff)
LOK: don't filter cursor visibility during painting
Change-Id: Ia44ffe08dc8f46e0d10a73db374a283eb032f771 Reviewed-on: https://gerrit.libreoffice.org/25120 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit f805637353e4463d5b64f1b010bb580e191bd3aa) Reviewed-on: https://gerrit.libreoffice.org/25427 Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'desktop/inc/lib')
-rw-r--r--desktop/inc/lib/init.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/inc/lib/init.hxx b/desktop/inc/lib/init.hxx
index d337eaa7a287..47b1d3153136 100644
--- a/desktop/inc/lib/init.hxx
+++ b/desktop/inc/lib/init.hxx
@@ -91,7 +91,8 @@ namespace desktop {
// We don't want to supress everything here on the wrong assumption
// that no new events are fired during painting.
if (type != LOK_CALLBACK_STATE_CHANGED &&
- type != LOK_CALLBACK_INVALIDATE_TILES)
+ type != LOK_CALLBACK_INVALIDATE_TILES &&
+ type != LOK_CALLBACK_CURSOR_VISIBLE)
{
//SAL_WARN("lokevt", "Skipping while painting [" + std::to_string(type) + "]: [" + payload + "].");
return;