compositor-drm: Enumerate only cards with name card*

To exclude /dev/dri/controlD* from the enumeration.
dev
Benjamin Franzke 13 years ago
parent 439d98697a
commit a764ee5158
  1. 1
      compositor/compositor-drm.c

@ -808,6 +808,7 @@ drm_compositor_create(struct wl_display *display,
e = udev_enumerate_new(ec->udev);
udev_enumerate_add_match_subsystem(e, "drm");
udev_enumerate_add_match_sysname(e, "card[0-9]*");
udev_enumerate_scan_devices(e);
drm_device = NULL;

Loading…
Cancel
Save