From 9b0e0970f9c69636d54b320d98bd23b2814c735b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 27 Dec 2020 15:21:07 +0100 Subject: backend/drm: destroy backend on udev remove event Any use of the DRM FD after the remove event results in a "Permission denied" error. --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 3d1ff121..8604f0b3 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -88,6 +88,7 @@ struct wlr_drm_backend { struct wl_listener session_active; struct wl_listener parent_destroy; struct wl_listener dev_change; + struct wl_listener dev_remove; struct wl_list fbs; // wlr_drm_fb.link struct wl_list outputs; -- cgit v1.2.3