aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-27 15:21:07 +0100
committerSimon Ser <contact@emersion.fr>2021-04-27 09:11:44 +0200
commit9b0e0970f9c69636d54b320d98bd23b2814c735b (patch)
tree17e0debd92cbfa0eda752caa97d1dad1dfddc084 /include/backend/drm/drm.h
parent5597776914d715903f1ac61d02b719941b0ac2b4 (diff)
backend/drm: destroy backend on udev remove event
Any use of the DRM FD after the remove event results in a "Permission denied" error.
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
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;