From 0240cdb77580881a795d2eb1321a76d6c32c3c643f8d31095ddd729a3cac1891 Mon Sep 17 00:00:00 2001 From: Hillwood Yang Date: Mon, 25 Nov 2013 14:19:37 +0000 Subject: [PATCH] Accepting request 208285 from home:hillwood:branches:M17N - Better way to fix cursor following problem (on_the_spot bug) under libreoffice-kde4 (bnc#851982). OBS-URL: https://build.opensuse.org/request/show/208285 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=87 --- ibus.changes | 6 ++++++ ibus.spec | 4 +--- xim.d-ibus-121 | 4 ++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ibus.changes b/ibus.changes index 2a8d1a8..74977e4 100644 --- a/ibus.changes +++ b/ibus.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 25 21:50:12 CST 2013 - hillwood@linuxfans.org + +- Better way to fix cursor following problem (on_the_spot bug) + under libreoffice-kde4 (bnc#851982). + ------------------------------------------------------------------- Sat Nov 16 06:57:33 UTC 2013 - jengelh@inai.de diff --git a/ibus.spec b/ibus.spec index 1a5e250..1e88679 100644 --- a/ibus.spec +++ b/ibus.spec @@ -92,10 +92,8 @@ Obsoletes: ibus-gnome-shell Obsoletes: libibus-1_0-0 Recommends: %{name}-lang -#Fix cursor following problem in KDE4 for libreoffice, libreoffice-kde and libreoffice-kde4 can destroy cursor following, please don't install them with ibus. +#Fix cursor following problem in KDE4 for libreoffice. Supplements: packageand(libreoffice:libreoffice-gnome) -Conflicts: libreoffice-kde -Conflicts: libreoffice-kde4 %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") %define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0) diff --git a/xim.d-ibus-121 b/xim.d-ibus-121 index 70eef6b..f7d8c8d 100644 --- a/xim.d-ibus-121 +++ b/xim.d-ibus-121 @@ -33,6 +33,10 @@ __END ;; esac +# Force OOo to use gtk-immodule +# Better way to fix cursor following problem (on_the_spot bug) under libreoffice-kde4 + export OOO_FORCE_DESKTOP=gnome + # Determine the LC_CTYPE locale category setting #tmplang=${LC_ALL-${LC_CTYPE-${LANG-en_US}}}