gtkimmodule: make match_backend() query the wayland registry
authorPeter Bloomfield <PeterBloomfield@bellsouth.net>
Mon, 12 Mar 2018 21:46:57 +0000 (17:46 -0400)
committerSimon McVittie <smcv@debian.org>
Thu, 22 Mar 2018 10:15:24 +0000 (10:15 +0000)
commit50ffc6c0ce93674f83c032a617a7e01f39651df7
tree37bb5a99819fa9d471fcdad822f5844199a391b3
parent9e79ceeea387d207cb06f85d09fec8ef94925d5c
gtkimmodule: make match_backend() query the wayland registry

Wnen _gtk_im_module_get_default_context_id calls
match_backend (context_id) and the default GdkDisplay
is wayland, match_backend() should return TRUE only if
gdk_wayland_display_query_registry (display, "gtk_text_input_manager")
returns TRUE.

Origin: upstream, 3.22.30, commit:6e2d14037cea356638a9bea7b611cbe23bc90b47
Bug: https://gitlab.gnome.org/GNOME/gtk/issues/114
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893696

Gbp-Pq: Name 0009-gtkimmodule-make-match_backend-query-the-wayland-reg.patch
gtk/gtkimmodule.c