Commit 6f49efc8 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Replace gtk_text_input with text_input_unstable_v3 support

parent d92df4ff
......@@ -702,7 +702,7 @@ match_backend (GtkIMContextInfo *context)
return GDK_IS_WAYLAND_DISPLAY (display) &&
gdk_wayland_display_query_registry (display,
"gtk_text_input_manager");
"zwp_text_input_manager_v3");
}
#endif
......
......@@ -1909,7 +1909,7 @@ gtk_settings_create_for_display (GdkDisplay *display)
const gchar *immodule = NULL;
if (gdk_wayland_display_query_registry (display,
"gtk_text_input_manager"))
"zwp_text_input_manager_v3"))
{
settings = g_object_new (GTK_TYPE_SETTINGS,
"gtk-im-module", "wayland",
......
......@@ -175,8 +175,8 @@ endif
endif
protocol_built_sources = \
gtk-text-input-protocol.c \
gtk-text-input-client-protocol.h
text-input-unstable-v3-protocol.c \
text-input-unstable-v3-client-protocol.h
im_wayland_la_CPPFLAGS = $(AM_CPPFLAGS)
im_wayland_la_LDFLAGS = -rpath $(moduledir) -avoid-version -module $(no_undefined)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment