mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
backend-eglnative: Search for the xsettings schema recursively
As recommended by the docs for `g_settings_schema_source_get_default`: > The returned source may actually consist of multiple schema sources > from different directories, depending on which directories were given > in XDG_DATA_DIRS and GSETTINGS_SCHEMA_DIR. For this reason, all lookups > performed against the default source should probably be done recursively. Now it's actually found and works again, including subpixel font smoothing. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1447 https://gitlab.gnome.org/GNOME/mutter/merge_requests/1017
This commit is contained in:
parent
b3fbc26340
commit
d28a640960
@ -233,7 +233,7 @@ clutter_backend_egl_native_init (ClutterBackendEglNative *backend_egl_native)
|
||||
GSettingsSchemaSource *source = g_settings_schema_source_get_default ();
|
||||
GSettingsSchema *schema = g_settings_schema_source_lookup (source,
|
||||
xsettings_path,
|
||||
FALSE);
|
||||
TRUE);
|
||||
|
||||
if (!schema)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user