This commit is contained in:
Takao Fujiwara 2023-07-13 17:52:57 +09:00
parent 7496ad9bc3
commit 2e13014b1a
2 changed files with 8 additions and 8 deletions

View File

@ -535,9 +535,9 @@ index 1a2e6fd..8665ae0 100644
-- --
2.38.1 2.38.1
From 7f5807eaf37d0a809807c23add3964478bfbdcbe Mon Sep 17 00:00:00 2001 From ddb7d64007f25aa0108ae9bf65b96aa063157c0a Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com> From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Thu, 13 Jul 2023 15:06:38 +0900 Date: Thu, 13 Jul 2023 17:49:57 +0900
Subject: [PATCH] engine: Enable OSK mode Subject: [PATCH] engine: Enable OSK mode
Currently gnome-shell sends IBUS_CAP_OSK when OSK(On-Screen Keyboard) Currently gnome-shell sends IBUS_CAP_OSK when OSK(On-Screen Keyboard)
@ -557,7 +557,7 @@ BUG=rhbz#2015149
2 files changed, 56 insertions(+), 12 deletions(-) 2 files changed, 56 insertions(+), 12 deletions(-)
diff --git a/engine/python2/engine.py b/engine/python2/engine.py diff --git a/engine/python2/engine.py b/engine/python2/engine.py
index 56c0cd5..4266d09 100644 index 56c0cd5..4b3da97 100644
--- a/engine/python2/engine.py --- a/engine/python2/engine.py
+++ b/engine/python2/engine.py +++ b/engine/python2/engine.py
@@ -150,6 +150,10 @@ class Engine(IBus.EngineSimple): @@ -150,6 +150,10 @@ class Engine(IBus.EngineSimple):
@ -641,7 +641,7 @@ index 56c0cd5..4266d09 100644
self.__cursor_pos = 0 self.__cursor_pos = 0
self.__fill_lookup_table() self.__fill_lookup_table()
- self.__lookup_table_visible = False - self.__lookup_table_visible = False
+ lf self.__osk_mode: + if self.__osk_mode:
+ self.__lookup_table_visible = True + self.__lookup_table_visible = True
+ else: + else:
+ self.__lookup_table_visible = False + self.__lookup_table_visible = False
@ -659,7 +659,7 @@ index 56c0cd5..4266d09 100644
self.__invalidate() self.__invalidate()
return True return True
diff --git a/engine/python3/engine.py b/engine/python3/engine.py diff --git a/engine/python3/engine.py b/engine/python3/engine.py
index 2ebf894..d9013e6 100644 index 2ebf894..20786f2 100644
--- a/engine/python3/engine.py --- a/engine/python3/engine.py
+++ b/engine/python3/engine.py +++ b/engine/python3/engine.py
@@ -151,6 +151,10 @@ class Engine(IBus.EngineSimple): @@ -151,6 +151,10 @@ class Engine(IBus.EngineSimple):
@ -743,7 +743,7 @@ index 2ebf894..d9013e6 100644
self.__cursor_pos = 0 self.__cursor_pos = 0
self.__fill_lookup_table() self.__fill_lookup_table()
- self.__lookup_table_visible = False - self.__lookup_table_visible = False
+ lf self.__osk_mode: + if self.__osk_mode:
+ self.__lookup_table_visible = True + self.__lookup_table_visible = True
+ else: + else:
+ self.__lookup_table_visible = False + self.__lookup_table_visible = False

View File

@ -18,7 +18,7 @@
Name: ibus-anthy Name: ibus-anthy
Version: 1.5.14 Version: 1.5.14
Release: 12%{?dist} Release: 13%{?dist}
Summary: The Anthy engine for IBus input platform Summary: The Anthy engine for IBus input platform
License: GPL-2.0-or-later License: GPL-2.0-or-later
URL: https://github.com/ibus/ibus/wiki URL: https://github.com/ibus/ibus/wiki
@ -156,7 +156,7 @@ make -C data check
%{_datadir}/installed-tests/%{name} %{_datadir}/installed-tests/%{name}
%changelog %changelog
* Thu Jul 13 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-12 * Thu Jul 13 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-13
- Resolves #2015149 Commit candidate text with clicking on candidate list in OSK - Resolves #2015149 Commit candidate text with clicking on candidate list in OSK
* Fri Feb 17 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-11 * Fri Feb 17 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-11