summaryrefslogtreecommitdiff
path: root/desktop
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-19 03:29:17 +0000
commitf805637353e4463d5b64f1b010bb580e191bd3aa (patch)
tree23843e86c3791a03ad4807e9e740ef3d6c307f37 /desktop
parentfbac7999ebe2d2eee063b66670650508106a6e37 (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>
Diffstat (limited to 'desktop')
-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 30c2cadde990..f49a829feee2 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;