mirror of
https://github.com/brl/mutter.git
synced 2025-07-03 09:43:18 +00:00
backend/native: Sending modifiers to clients can be disabled via udev
Using the new udev tag "mutter-device-disable-client-modifiers". Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2637>
This commit is contained in:
@ -595,6 +595,9 @@ add_drm_device (MetaBackendNative *backend_native,
|
||||
if (meta_is_udev_device_disable_modifiers (device))
|
||||
flags |= META_KMS_DEVICE_FLAG_DISABLE_MODIFIERS;
|
||||
|
||||
if (meta_is_udev_device_disable_client_modifiers (device))
|
||||
flags |= META_KMS_DEVICE_FLAG_DISABLE_CLIENT_MODIFIERS;
|
||||
|
||||
if (meta_is_udev_device_preferred_primary (device))
|
||||
flags |= META_KMS_DEVICE_FLAG_PREFERRED_PRIMARY;
|
||||
|
||||
|
Reference in New Issue
Block a user