mirror of
https://github.com/brl/mutter.git
synced 2024-12-18 00:52:05 +00:00
wayland-dma-buf: Fix 'kms-modifiers' experimental setting
The setting was ignored in favor of whatever the backend returned. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1953>
This commit is contained in:
parent
9252b7c6b4
commit
a96caf6def
@ -609,6 +609,10 @@ should_send_modifiers (MetaBackend *backend)
|
||||
{
|
||||
MetaSettings *settings = meta_backend_get_settings (backend);
|
||||
|
||||
if (meta_settings_is_experimental_feature_enabled (
|
||||
settings, META_EXPERIMENTAL_FEATURE_KMS_MODIFIERS))
|
||||
return TRUE;
|
||||
|
||||
#ifdef HAVE_NATIVE_BACKEND
|
||||
if (META_IS_BACKEND_NATIVE (backend))
|
||||
{
|
||||
@ -618,8 +622,7 @@ should_send_modifiers (MetaBackend *backend)
|
||||
}
|
||||
#endif
|
||||
|
||||
return meta_settings_is_experimental_feature_enabled (
|
||||
settings, META_EXPERIMENTAL_FEATURE_KMS_MODIFIERS);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user