public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Send RequireSurroundingText method with engine active-surrounding-text property
@ 2026-05-31 2:08 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : f24cdc92edf7b4808e0bdae97666373d1d17fd64
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2025-03-09T11:29:35+09:00
Stats : +21/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/f24cdc92edf7b4808e0bdae97666373d1d17fd64?branch=autotool
Log:
Send RequireSurroundingText method with engine active-surrounding-text property
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 4a5a56a..310739c 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -33,9 +33,9 @@ index a45aae92..266fa6fe 100644
--
2.47.0
-From 1b7e94cab80d6500ecfaeea8c8b7efe373763431 Mon Sep 17 00:00:00 2001
+From da4d7c19e474d0e69c6e35116c625765cc377c7d Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
-Date: Thu, 6 Mar 2025 11:46:11 +0900
+Date: Sun, 9 Mar 2025 10:08:44 +0900
Subject: [PATCH] bus: Send FocusIn signal again after delayed FocusId property
The FocusId D-Bus property is checked after both bus/EngineProxy
@@ -47,11 +47,11 @@ FocusId property is TRUE.
BUG=https://github.com/ibus/ibus/pull/2717
---
- bus/engineproxy.c | 24 ++++++++++++++++++++++--
- 1 file changed, 22 insertions(+), 2 deletions(-)
+ bus/engineproxy.c | 26 ++++++++++++++++++++++++--
+ 1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/bus/engineproxy.c b/bus/engineproxy.c
-index 20f89cef..dd2bf2af 100644
+index 20f89cef..fa15d2e7 100644
--- a/bus/engineproxy.c
+++ b/bus/engineproxy.c
@@ -2,7 +2,7 @@
@@ -72,7 +72,16 @@ index 20f89cef..dd2bf2af 100644
};
struct _BusEngineProxyClass {
-@@ -1436,6 +1438,18 @@ _get_active_surrounding_text_cb (GObject *object,
+@@ -1391,6 +1393,8 @@ _get_has_focus_id_cb (GObject *object,
+ hash_table,
+ (gpointer)ibus_engine_desc_get_name (engine->desc),
+ value);
++ if (engine->has_focus)
++ g_signal_emit (engine, engine_signals[REQUIRE_SURROUNDING_TEXT], 0);
+ }
+ g_hash_table_unref (hash_table);
+ }
+@@ -1436,6 +1440,18 @@ _get_active_surrounding_text_cb (GObject *object,
hash_table,
(gpointer)ibus_engine_desc_get_name (engine->desc),
value);
@@ -91,7 +100,7 @@ index 20f89cef..dd2bf2af 100644
}
g_hash_table_unref (hash_table);
}
-@@ -1479,9 +1493,13 @@ bus_engine_proxy_focus_in (BusEngineProxy *engine,
+@@ -1479,9 +1495,13 @@ bus_engine_proxy_focus_in (BusEngineProxy *engine,
const gchar *client)
{
g_assert (BUS_IS_ENGINE_PROXY (engine));
@@ -106,7 +115,7 @@ index 20f89cef..dd2bf2af 100644
if (engine->has_active_surrounding_text)
g_signal_emit (engine, engine_signals[REQUIRE_SURROUNDING_TEXT], 0);
if (engine->has_focus_id) {
-@@ -1513,6 +1531,8 @@ bus_engine_proxy_focus_out (BusEngineProxy *engine,
+@@ -1513,6 +1533,8 @@ bus_engine_proxy_focus_out (BusEngineProxy *engine,
if (!engine->has_focus)
return;
engine->has_focus = FALSE;
diff --git a/ibus.spec b/ibus.spec
index e98b80e..5caa42d 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -63,7 +63,7 @@
Name: ibus
Version: 1.5.32~rc1
# https://github.com/fedora-infra/rpmautospec/issues/101
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1-or-later
URL: https://github.com/ibus/%name/wiki
@@ -638,6 +638,9 @@ dconf update || :
%{_datadir}/installed-tests/ibus
%changelog
+* Sun Mar 09 2025 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.32~rc1-3
+- Send RequireSurroundingText method with engine active-surrounding-text property
+
* Thu Mar 06 2025 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.32~rc1-2
- Send FocusIn signal again after delayed FocusId property
- Revert "Add a pad to the cursor height in Wayland"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 2:08 [rpms/ibus] autotool: Send RequireSurroundingText method with engine active-surrounding-text property Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox