commit: f3693d99c9a5fcf848f38b3aff121c95a05ed56f Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Mon Sep 19 06:51:02 2022 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Sep 19 10:17:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3693d99
app-i18n/ibus: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/27348 Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> .../ibus/files/ibus-1.5.25-ibusimcontext.patch | 35 ---------------------- 1 file changed, 35 deletions(-) diff --git a/app-i18n/ibus/files/ibus-1.5.25-ibusimcontext.patch b/app-i18n/ibus/files/ibus-1.5.25-ibusimcontext.patch deleted file mode 100644 index 6187ff77fbac..000000000000 --- a/app-i18n/ibus/files/ibus-1.5.25-ibusimcontext.patch +++ /dev/null @@ -1,35 +0,0 @@ -https://github.com/ibus/ibus/issues/2337 -https://bugs.gentoo.org/824494 ---- -diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c -index da9a402..b1ccede 100644 ---- a/client/gtk2/ibusimcontext.c -+++ b/client/gtk2/ibusimcontext.c -@@ -1497,7 +1497,10 @@ _set_cursor_location_internal (IBusIMContext *ibusimcontext) - - #if GTK_CHECK_VERSION (3, 98, 4) - #elif GTK_CHECK_VERSION (2, 91, 0) -- area.y += gdk_window_get_height (ibusimcontext->client_window); -+ if (area.x == -1 && area.y == -1 && area.width == 0 && area.height == 0) { -+ area.x = 0; -+ area.y += gdk_window_get_height (ibusimcontext->client_window); -+ } - #else - if (area.x == -1 && area.y == -1 && area.width == 0 && area.height == 0) { - gint w, h; -diff --git a/client/gtk3/ibusimcontext.c b/client/gtk3/ibusimcontext.c -index da9a402..b1ccede 100644 ---- a/client/gtk3/ibusimcontext.c -+++ b/client/gtk3/ibusimcontext.c -@@ -1497,7 +1497,10 @@ _set_cursor_location_internal (IBusIMContext *ibusimcontext) - - #if GTK_CHECK_VERSION (3, 98, 4) - #elif GTK_CHECK_VERSION (2, 91, 0) -- area.y += gdk_window_get_height (ibusimcontext->client_window); -+ if (area.x == -1 && area.y == -1 && area.width == 0 && area.height == 0) { -+ area.x = 0; -+ area.y += gdk_window_get_height (ibusimcontext->client_window); -+ } - #else - if (area.x == -1 && area.y == -1 && area.width == 0 && area.height == 0) { - gint w, h;
