summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-05-01 10:52:31 -0400
committerMatthias Clasen <mclasen@redhat.com>2016-05-05 15:04:00 -0400
commitac26fc3be48806f618da2a17a4ff8cda4b07f1e5 (patch)
tree3b54f199814131629cd4ec27b9e631d179d1418e
parent4ad84363167550754c3584c079ccbb619e4a8d92 (diff)
downloadgtk+-ac26fc3be48806f618da2a17a4ff8cda4b07f1e5.tar.gz
wayland: Tag the event source with the acutal display name
-rw-r--r--gdk/wayland/gdkeventsource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/wayland/gdkeventsource.c b/gdk/wayland/gdkeventsource.c
index dcd10a1292..bb22e00195 100644
--- a/gdk/wayland/gdkeventsource.c
+++ b/gdk/wayland/gdkeventsource.c
@@ -131,7 +131,8 @@ _gdk_wayland_display_event_source_new (GdkDisplay *display)
source = g_source_new (&wl_glib_source_funcs,
sizeof (GdkWaylandEventSource));
- name = g_strdup_printf ("GDK Wayland Event source (%s)", "display name");
+ name = g_strdup_printf ("GDK Wayland Event source (%s)",
+ gdk_display_get_name (display));
g_source_set_name (source, name);
g_free (name);
wl_source = (GdkWaylandEventSource *) source;