mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 04:42:14 +00:00
Revert "backend/native: Sending modifiers to clients can be disabled via udev"
This is unused now. For testing purposes,
`MUTTER_DEBUG_SEND_KMS_MODIFIERS=0` can still be used.
This reverts commit efc4fa333c
.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3030>
This commit is contained in:
parent
9be511453e
commit
ed1d8bed93
@ -592,9 +592,6 @@ 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;
|
||||
|
||||
|
@ -102,13 +102,6 @@ meta_is_udev_device_disable_modifiers (GUdevDevice *device)
|
||||
"mutter-device-disable-kms-modifiers");
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_is_udev_device_disable_client_modifiers (GUdevDevice *device)
|
||||
{
|
||||
return meta_has_udev_device_tag (device,
|
||||
"mutter-device-disable-client-modifiers");
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_is_udev_device_ignore (GUdevDevice *device)
|
||||
{
|
||||
|
@ -35,8 +35,6 @@ gboolean meta_is_udev_device_boot_vga (GUdevDevice *device);
|
||||
|
||||
gboolean meta_is_udev_device_disable_modifiers (GUdevDevice *device);
|
||||
|
||||
gboolean meta_is_udev_device_disable_client_modifiers (GUdevDevice *device);
|
||||
|
||||
gboolean meta_is_udev_device_ignore (GUdevDevice *device);
|
||||
|
||||
gboolean meta_is_udev_test_device (GUdevDevice *device);
|
||||
|
Loading…
Reference in New Issue
Block a user