Compare commits
No commits in common. "c9-beta" and "c9" have entirely different histories.
42
SOURCES/ibus-anthy-24804-super-key.patch
Normal file
42
SOURCES/ibus-anthy-24804-super-key.patch
Normal file
@ -0,0 +1,42 @@
|
||||
From c1ffc2bfcedab68ce79c2fa9a7f2bfe6cec17595 Mon Sep 17 00:00:00 2001
|
||||
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||
Date: Fri, 18 Aug 2023 18:52:58 +0900
|
||||
Subject: [PATCH] engine: Distinguish Super-space and space shortcut keys
|
||||
|
||||
BUG=rhbz#2232532
|
||||
---
|
||||
engine/python2/engine.py | 3 ++-
|
||||
engine/python3/engine.py | 3 ++-
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/engine/python2/engine.py b/engine/python2/engine.py
|
||||
index 4b3da97..80cfa86 100644
|
||||
--- a/engine/python2/engine.py
|
||||
+++ b/engine/python2/engine.py
|
||||
@@ -1940,7 +1940,8 @@ class Engine(IBus.EngineSimple):
|
||||
|
||||
state = state & (IBus.ModifierType.SHIFT_MASK |
|
||||
IBus.ModifierType.CONTROL_MASK |
|
||||
- IBus.ModifierType.MOD1_MASK)
|
||||
+ IBus.ModifierType.MOD1_MASK |
|
||||
+ IBus.ModifierType.MOD4_MASK)
|
||||
|
||||
# ignore key release events
|
||||
if not is_press:
|
||||
diff --git a/engine/python3/engine.py b/engine/python3/engine.py
|
||||
index 20786f2..7c0d283 100644
|
||||
--- a/engine/python3/engine.py
|
||||
+++ b/engine/python3/engine.py
|
||||
@@ -1935,7 +1935,8 @@ class Engine(IBus.EngineSimple):
|
||||
|
||||
state = state & (IBus.ModifierType.SHIFT_MASK |
|
||||
IBus.ModifierType.CONTROL_MASK |
|
||||
- IBus.ModifierType.MOD1_MASK)
|
||||
+ IBus.ModifierType.MOD1_MASK |
|
||||
+ IBus.ModifierType.MOD4_MASK)
|
||||
|
||||
# ignore key release events
|
||||
if not is_press:
|
||||
--
|
||||
2.43.0
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
Name: ibus-anthy
|
||||
Version: 1.5.13
|
||||
Release: 1%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: The Anthy engine for IBus input platform
|
||||
License: GPLv2+
|
||||
URL: https://github.com/ibus/ibus/wiki
|
||||
@ -27,6 +27,7 @@ Source0: https://github.com/ibus/ibus-anthy/releases/download/%{version}/
|
||||
# Upstreamed patches.
|
||||
# Patch0: %%{name}-HEAD.patch
|
||||
Patch1: %{name}-1938129-default-hiragana.patch
|
||||
Patch2: %{name}-24804-super-key.patch
|
||||
|
||||
BuildRequires: anthy-unicode-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -152,6 +153,15 @@ desktop-file-validate \
|
||||
%{_datadir}/installed-tests/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Mar 11 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.13-4
|
||||
- Fix CI. Related: RHEL-24804
|
||||
|
||||
* Mon Mar 11 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.13-3
|
||||
- Bump for el9_4. Related: RHEL-24804
|
||||
|
||||
* Thu Mar 07 2024 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.13-2
|
||||
- Distinguish Super-space and space shortcut keys. Related: RHEL-24804
|
||||
|
||||
* Fri Aug 20 2021 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.13-1
|
||||
- Remove Ctrl+period in circle_kana_mode. Related: rhbz#1993079
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user