summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/ibus-handwrite')
-rw-r--r--app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch23
-rw-r--r--app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild (renamed from app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild)5
2 files changed, 27 insertions, 1 deletions
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch
new file mode 100644
index 000000000000..7954f2018c2e
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-blink.patch
@@ -0,0 +1,23 @@
+From fcffa8f1ed798db3c2c4db0dbfc953f3147d37ba Mon Sep 17 00:00:00 2001
+From: Peng Wu <pwu@redhat.com>
+Date: Mon, 31 Aug 2020 15:32:48 +0800
+Subject: [PATCH] Fix focus in/out issue
+
+---
+ src/engine.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/engine.c b/src/engine.c
+index da01f06..d3d924e 100644
+--- a/src/engine.c
++++ b/src/engine.c
+@@ -155,9 +155,7 @@ static void ibus_handwrite_engine_focus_in(IBusHandwriteEngine *engine)
+
+ static void ibus_handwrite_engine_focus_out(IBusHandwriteEngine *engine)
+ {
+- UI_hide_ui(engine);
+ printf("%s \n", __func__);
+-
+ }
+
+ static void ibus_handwrite_engine_reset(IBusHandwriteEngine *engine)
diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild
index 9846756601f4..a57383c4952d 100644
--- a/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0.ebuild
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-3.0.0-r1.ebuild
@@ -23,7 +23,10 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )"
-PATCHES=( "${FILESDIR}"/${PN}-headers.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-blink.patch
+ "${FILESDIR}"/${PN}-headers.patch
+)
src_configure() {
econf \