mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 14:00:10 +00:00
wayland: Respect GDK_DEBUG=default-settings
You can get this in other ways for Wayland (by setting GSETTINGS_BACKEND=memory), but it is better to be consistent across backends.
This commit is contained in:
parent
30eca5a523
commit
d46b04631e
@ -2079,6 +2079,9 @@ gdk_wayland_display_get_setting (GdkDisplay *display,
|
||||
{
|
||||
TranslationEntry *entry;
|
||||
|
||||
if (GDK_DISPLAY_DEBUG_CHECK (display, DEFAULT_SETTINGS))
|
||||
return FALSE;
|
||||
|
||||
if (GDK_WAYLAND_DISPLAY (display)->settings != NULL &&
|
||||
g_hash_table_size (GDK_WAYLAND_DISPLAY (display)->settings) == 0)
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user