[gtk/debug-envvars-cleanup: 1/16] Fix default-settings handling




commit 183709c5228d538677adf92f0e05639697d32e3a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 21 20:45:43 2022 -0400

    Fix default-settings handling
    
    This is meant to be always available, but we
    were checking for debug in one place.

 gdk/x11/xsettings-client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/x11/xsettings-client.c b/gdk/x11/xsettings-client.c
index ac4811faa8..f92649782d 100644
--- a/gdk/x11/xsettings-client.c
+++ b/gdk/x11/xsettings-client.c
@@ -487,7 +487,7 @@ check_manager_window (GdkX11Screen *x11_screen,
 
   gdk_x11_display_grab (display);
 
-  if (!GDK_DISPLAY_DEBUG_CHECK (display, DEFAULT_SETTINGS))
+  if (!(gdk_display_get_debug_flags (display) & GDK_DEBUG_DEFAULT_SETTINGS))
     x11_screen->xsettings_manager_window = XGetSelectionOwner (xdisplay, get_selection_atom (x11_screen));
 
   if (x11_screen->xsettings_manager_window != 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]