backend/drm: destroy when parent is destroyed

This commit is contained in:
Simon Ser 2020-12-27 15:26:04 +01:00
parent e804de923d
commit c49ea9ef4f
2 changed files with 15 additions and 1 deletions

View file

@ -86,6 +86,7 @@ struct wlr_drm_backend {
struct wl_listener display_destroy;
struct wl_listener session_destroy;
struct wl_listener session_active;
struct wl_listener parent_destroy;
struct wl_listener dev_change;
struct wl_list fbs; // wlr_drm_fb.link