Kaydet (Commit) 698b344f authored tarafından Henry Castro's avatar Henry Castro

sw: LOK_CALLBACK_CURSOR_VISIBLE callback.

Change-Id: Ibf62a9d46df7d56dda737b4671d79b59bd01d35a
üst 782c116b
......@@ -90,7 +90,10 @@ void SwVisCrsr::Show()
// display at all?
if( m_pCrsrShell->VisArea().IsOver( m_pCrsrShell->m_aCharRect ) || m_pCrsrShell->isTiledRendering() )
{
m_pCrsrShell->libreOfficeKitCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(true).getStr());
_SetPosAndShow();
}
}
}
......@@ -102,6 +105,9 @@ void SwVisCrsr::Hide()
if( m_aTextCrsr.IsVisible() ) // Shouldn't the flags be in effect?
m_aTextCrsr.Hide();
if( m_pCrsrShell->isTiledRendering() )
m_pCrsrShell->libreOfficeKitCallback(LOK_CALLBACK_CURSOR_VISIBLE, OString::boolean(false).getStr());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment