mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: destroy backend on udev remove event
Any use of the DRM FD after the remove event results in a "Permission denied" error.
This commit is contained in:
parent
5597776914
commit
9b0e0970f9
2 changed files with 12 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue