Commit 7988bd8a authored by Lucas Baudin's avatar Lucas Baudin Committed by Matthias Clasen

wayland: recursively search for the settings schema.

On some systems, the gtk settings are not used properly for wayland.
Indeed, g_settings_schema_source_get_default is used, and as the docs says it,
"all lookups performed against the default source should probably be done
parent 809c27e5
......@@ -631,7 +631,7 @@ init_settings (GdkScreen *screen)
if (g_hash_table_lookup (screen_wayland->settings, (gpointer)translations[i].schema) != NULL)
schema = g_settings_schema_source_lookup (source, translations[i].schema, FALSE);
schema = g_settings_schema_source_lookup (source, translations[i].schema, TRUE);
if (schema != NULL)
settings = g_settings_new_full (schema, NULL, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment