diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-01 08:45:45 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-01 09:31:12 -0400 |
commit | ffdbb9077c157874392052836fb3aeef744fdbb6 (patch) | |
tree | fbbd8b0f2b97cbf1e40e0d1e5c43fb979635fee7 | |
parent | 23268e84b36209d804621649b410ba3b72760f3f (diff) | |
download | gtk+-ffdbb9077c157874392052836fb3aeef744fdbb6.tar.gz |
wayland: Some debug spew tweaks
-rw-r--r-- | gdk/wayland/gdkdisplay-wayland.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c index 541f34789c..4a27302904 100644 --- a/gdk/wayland/gdkdisplay-wayland.c +++ b/gdk/wayland/gdkdisplay-wayland.c @@ -2569,8 +2569,7 @@ gdk_wayland_display_add_output (GdkWaylandDisplay *display_wayland, wl_output_add_listener (output, &output_listener, monitor); - GDK_DEBUG (MISC, "xdg_output_manager %p", - display_wayland->xdg_output_manager); + GDK_DEBUG (MISC, "add output %u, version %u", id, version); if (display_has_xdg_output_support (display_wayland)) gdk_wayland_display_get_xdg_output (monitor); @@ -2613,6 +2612,8 @@ gdk_wayland_display_remove_output (GdkWaylandDisplay *self, { guint i, n; + GDK_DEBUG (MISC, "remove output %u", id); + n = g_list_model_get_n_items (G_LIST_MODEL (self->monitors)); for (i = 0; i < n; i++) { @@ -2668,7 +2669,7 @@ gdk_wayland_display_get_output_scale (GdkWaylandDisplay *display_wayland, * Returns: %TRUE if the global is offered by the compositor */ gboolean -gdk_wayland_display_query_registry (GdkDisplay *display, +gdk_wayland_display_query_registry (GdkDisplay *display, const char *global) { GdkWaylandDisplay *display_wayland = GDK_WAYLAND_DISPLAY (display); |