public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Fix SEGV on mouse clicks when ibus-daemon not running
Date: Sun, 31 May 2026 02:07:04 GMT [thread overview]
Message-ID: <178019322444.1.2777148114390692824.rpms-ibus-e5d4c88733ad@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ibus
Branch : autotool
Commit : e5d4c88733ad87c633ab6cfdb33fbca132145331
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date : 2018-12-12T16:16:43+09:00
Stats : +34/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/ibus/c/e5d4c88733ad87c633ab6cfdb33fbca132145331?branch=autotool
Log:
Fix SEGV on mouse clicks when ibus-daemon not running
---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 5a14514..893438b 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -2020,3 +2020,33 @@ index ba9d92b6..7615f121 100644
--
2.19.1
+From c7d8771cb9fc652cb638aa7cb8e10ea6b889509e Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Tue, 11 Dec 2018 19:16:10 +0900
+Subject: [PATCH] client/gtk2: Fix SEGV on mouse clicks when ibus-daemon not
+ running
+
+---
+ client/gtk2/ibusimcontext.c | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
+index ed7fea6e..ab7ff88a 100644
+--- a/client/gtk2/ibusimcontext.c
++++ b/client/gtk2/ibusimcontext.c
+@@ -1117,9 +1117,10 @@ ibus_im_context_button_press_event_cb (GtkWidget *widget,
+ if (event->button != 1)
+ return FALSE;
+
+- ibus_im_context_clear_preedit_text (ibusimcontext);
+- if (ibusimcontext->ibuscontext)
++ if (ibusimcontext->ibuscontext) {
++ ibus_im_context_clear_preedit_text (ibusimcontext);
+ ibus_input_context_reset (ibusimcontext->ibuscontext);
++ }
+ return FALSE;
+ }
+
+--
+2.19.1
+
diff --git a/ibus.spec b/ibus.spec
index e923969..6ca8fc1 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -35,7 +35,7 @@
Name: ibus
Version: 1.5.19
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Intelligent Input Bus for Linux OS
License: LGPLv2+
Group: System Environment/Libraries
@@ -436,6 +436,9 @@ dconf update || :
%{_datadir}/gtk-doc/html/*
%changelog
+* Wed Dec 12 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.19-11
+- Fix SEGV on mouse clicks when ibus-daemon not running
+
* Mon Dec 10 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.19-10
- Always reset and clear preedit on mouse click
- Show compose preedit with custom compose file
reply other threads:[~2026-05-31 2:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178019322444.1.2777148114390692824.rpms-ibus-e5d4c88733ad@fedoraproject.org \
--to=tfujiwar@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox