Fix default-settings handling

This is meant to be always available, but we
were checking for debug in one place.
This commit is contained in:
Matthias Clasen 2022-09-21 20:45:43 -04:00
parent 458bf674ad
commit 183709c522

View File

@ -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)