From a6e1f214c9c8c338da7cd216884e45e234e64669 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 12 Apr 2013 15:06:03 +0300 Subject: Start implementing on-demand keyboard display for non-DESKTOP Change-Id: I9321dcf9d863cb59eee9b2a012d887a17cb1b454 --- sw/source/core/crsr/crsrsh.cxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'sw') diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index d5999cd591b0..fe0e61fdca37 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + #include #include #include @@ -62,6 +64,8 @@ #include +#include + using namespace com::sun::star; using namespace util; @@ -2000,6 +2004,9 @@ void SwCrsrShell::ShowCrsr() { m_bSVCrsrVis = sal_True; UpdateCrsr(); +#if !HAVE_FEATURE_DESKTOP + lo_show_keyboard(); +#endif } } @@ -2012,6 +2019,9 @@ void SwCrsrShell::HideCrsr() // possibly reverse selected areas!! SET_CURR_SHELL( this ); m_pVisCrsr->Hide(); +#if !HAVE_FEATURE_DESKTOP + lo_hide_keyboard(); +#endif } } -- cgit