From: Carlos Garnacho Date: Fri, 3 Dec 2021 23:15:54 +0000 (+0100) Subject: gtkimcontextwayland: Set a higher IO extension priority X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~5^2~94^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ce1b970b468f16046f08b84d75d871e594d68a45;p=gtk4.git 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 --- 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))