From a228b2de64d50a205e069c6ba6559d5b7e9599d7 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 2 Apr 2021 22:24:00 -0400 Subject: [PATCH] imwayland: Name event controllers This helps with debugging. --- gtk/gtkimcontextwayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkimcontextwayland.c b/gtk/gtkimcontextwayland.c index b380a8a150..10defeaf1a 100644 --- a/gtk/gtkimcontextwayland.c +++ b/gtk/gtkimcontextwayland.c @@ -559,6 +559,7 @@ gtk_im_context_wayland_set_client_widget (GtkIMContext *context, GtkGesture *gesture; gesture = gtk_gesture_click_new (); + gtk_event_controller_set_name (GTK_EVENT_CONTROLLER (gesture), "wayland-im-context-click"); gtk_event_controller_set_propagation_phase (GTK_EVENT_CONTROLLER (gesture), GTK_PHASE_CAPTURE); g_signal_connect (gesture, "pressed",