summaryrefslogtreecommitdiff
path: root/gdk/x11/gdkvisual-x11.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-11 19:48:27 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-14 17:05:04 -0500
commite151058dffbfd3b43798c2e6813eae9b952ba2d1 (patch)
tree3b827dcabc510cee197a01de3a5cafaa88d2811c /gdk/x11/gdkvisual-x11.c
parentc5fc841285f9ab7939e7f1a01146780b47c4be3b (diff)
downloadgtk+-e151058dffbfd3b43798c2e6813eae9b952ba2d1.tar.gz
Make gdk logging per-display
As far as possible, use per-display debug flags. This will minimize the debug spew that we get from the inspector if it is running on a separate display.
Diffstat (limited to 'gdk/x11/gdkvisual-x11.c')
-rw-r--r--gdk/x11/gdkvisual-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index 9b32ab78ea..be7718f1f4 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -196,7 +196,7 @@ _gdk_x11_screen_init_visuals (GdkX11Screen *x11_screen,
}
#ifdef G_ENABLE_DEBUG
- if (GDK_DEBUG_CHECK (MISC))
+ if (GDK_DISPLAY_DEBUG_CHECK (GDK_SCREEN_DISPLAY (x11_screen), MISC))
{
static const gchar *const visual_names[] =
{