Fix some issue with On Screen Keyboard
This commit is contained in:
parent
276e8071bf
commit
71e3a7fed4
23
ibus-hangul-fixes-osk.patch
Normal file
23
ibus-hangul-fixes-osk.patch
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
From eaaf6aa222926835fa155d587b05c199107cb449 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Peng Wu <alexepico@gmail.com>
|
||||||
|
Date: Tue, 10 Dec 2024 10:38:44 +0800
|
||||||
|
Subject: [PATCH] Support the key event from on screen keyboard
|
||||||
|
|
||||||
|
---
|
||||||
|
src/engine.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/engine.c b/src/engine.c
|
||||||
|
index faa3fb1..d23bd24 100644
|
||||||
|
--- a/src/engine.c
|
||||||
|
+++ b/src/engine.c
|
||||||
|
@@ -1505,7 +1505,8 @@ ibus_hangul_engine_process_key_event (IBusEngine *engine,
|
||||||
|
bool is_transliteration_mode =
|
||||||
|
hangul_ic_is_transliteration(hangul->context);
|
||||||
|
if (!is_transliteration_mode) {
|
||||||
|
- if (keymap != NULL)
|
||||||
|
+ // on screen keyboard will send key event without keycode.
|
||||||
|
+ if (keymap != NULL && keycode != 0)
|
||||||
|
keyval = ibus_keymap_lookup_keysym(keymap, keycode, modifiers);
|
||||||
|
}
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: ibus-hangul
|
Name: ibus-hangul
|
||||||
Version: 1.5.5
|
Version: 1.5.5
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: The Hangul engine for IBus input platform
|
Summary: The Hangul engine for IBus input platform
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/libhangul/ibus-hangul
|
URL: https://github.com/libhangul/ibus-hangul
|
||||||
@ -11,6 +11,7 @@ Source0: https://github.com/libhangul/ibus-hangul/releases/download/%{version
|
|||||||
|
|
||||||
# not upstreamed patches
|
# not upstreamed patches
|
||||||
Patch1: ibus-hangul-setup-abspath.patch
|
Patch1: ibus-hangul-setup-abspath.patch
|
||||||
|
Patch2: ibus-hangul-fixes-osk.patch
|
||||||
|
|
||||||
BuildRequires: gettext-devel, automake, libtool
|
BuildRequires: gettext-devel, automake, libtool
|
||||||
BuildRequires: libhangul-devel >= %{require_libhangul_version}
|
BuildRequires: libhangul-devel >= %{require_libhangul_version}
|
||||||
@ -87,6 +88,11 @@ make check \
|
|||||||
%{_datadir}/installed-tests/ibus-hangul
|
%{_datadir}/installed-tests/ibus-hangul
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Dec 23 2024 Peng Wu <pwu@redhat.com> - 1.5.5-9
|
||||||
|
- Fix some issue with On Screen Keyboard
|
||||||
|
- Add ibus-hangul-fixes-osk.patch
|
||||||
|
- Resolves: RHEL-69510
|
||||||
|
|
||||||
* Mon Dec 9 2024 Peng Wu <pwu@redhat.com> - 1.5.5-8
|
* Mon Dec 9 2024 Peng Wu <pwu@redhat.com> - 1.5.5-8
|
||||||
- Update CI tests
|
- Update CI tests
|
||||||
- Resolves: RHEL-70370
|
- Resolves: RHEL-70370
|
||||||
|
Loading…
Reference in New Issue
Block a user