From 721a12826d3f6eca31712bf6269ef6e9776ad84f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 6 Apr 2019 18:19:40 +0000 Subject: [PATCH] inspector: Warn if using the default display --- gtk/inspector/window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/inspector/window.c b/gtk/inspector/window.c index 2bf2a35dea..e7c9ee9fb1 100644 --- a/gtk/inspector/window.c +++ b/gtk/inspector/window.c @@ -398,6 +398,9 @@ get_inspector_display (void) if (!display) display = gdk_display_get_default (); + if (display == gdk_display_get_default ()) + g_message ("Using default display for GtkInspector; expect some spillover"); + return display; }