mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 05:49:48 +01:00
drm: udev scan only drm_minor, not connectors (#119)
This commit is contained in:
parent
3375378354
commit
a132fa41be
1 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,8 @@ static udev_enumerate* enumDRMCards(udev* udev) {
|
|||
return nullptr;
|
||||
|
||||
udev_enumerate_add_match_subsystem(enumerate, "drm");
|
||||
udev_enumerate_add_match_sysname(enumerate, DRM_PRIMARY_MINOR_NAME "[0-9]");
|
||||
udev_enumerate_add_match_property(enumerate, "DEVTYPE", "drm_minor");
|
||||
udev_enumerate_add_match_sysname(enumerate, DRM_PRIMARY_MINOR_NAME "[0-9]*");
|
||||
|
||||
if (udev_enumerate_scan_devices(enumerate)) {
|
||||
udev_enumerate_unref(enumerate);
|
||||
|
|
Loading…
Reference in a new issue