summaryrefslogtreecommitdiff
path: root/0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch')
-rw-r--r--0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch b/0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch
new file mode 100644
index 0000000..ec1fd1c
--- /dev/null
+++ b/0001-gtkimcontextwayland-Set-a-higher-IO-extension-priori.patch
@@ -0,0 +1,30 @@
+From ce1b970b468f16046f08b84d75d871e594d68a45 Mon Sep 17 00:00:00 2001
+From: Carlos Garnacho <carlosg@gnome.org>
+Date: Sat, 4 Dec 2021 00:15:54 +0100
+Subject: [PATCH] gtkimcontextwayland: Set a higher IO extension priority
+
+We want this to take precedence in the wayland platform to other
+modules that might be loaded via the IO extension point. None of
+those is going to bode well in this platform.
+
+Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4443
+---
+ gtk/gtkimcontextwayland.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c
+index 9f4df8954b..8b372d048f 100644
+--- a/gtk/gtkimcontextwayland.c
++++ b/gtk/gtkimcontextwayland.c
+@@ -101,7 +101,7 @@ G_DEFINE_TYPE_WITH_CODE (GtkIMContextWayland, gtk_im_context_wayland, GTK_TYPE_I
+ g_io_extension_point_implement (GTK_IM_MODULE_EXTENSION_POINT_NAME,
+ g_define_type_id,
+ "wayland",
+- 0));
++ 100));
+
+ #define GTK_IM_CONTEXT_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), gtk_im_context_wayland_get_type (), GtkIMContextWayland))
+
+--
+2.37.0
+