mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
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:
parent
458bf674ad
commit
183709c522
@ -487,7 +487,7 @@ check_manager_window (GdkX11Screen *x11_screen,
|
|||||||
|
|
||||||
gdk_x11_display_grab (display);
|
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));
|
x11_screen->xsettings_manager_window = XGetSelectionOwner (xdisplay, get_selection_atom (x11_screen));
|
||||||
|
|
||||||
if (x11_screen->xsettings_manager_window != 0)
|
if (x11_screen->xsettings_manager_window != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user