[gtk/wip/carlosg/im-wayland-module-priority] gtkimcontextwayland: Set a higher IO extension priority




commit e6b56403332f1a61ee4529d7ba40515d824476d5
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Dec 4 00:15:54 2021 +0100

    gtkimcontextwayland: Set a higher IO extension priority
    
    We want this to take precedence in the wayland platform to other
    modules that might be e.g. specified through GtkSettings. 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))
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]