mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/headless: handle renderer destroy
When the headless backend uses an already-existing renderer, it doesn't have ownership over the renderer. When the renderer is destroyed, the headless backend needs to destroy itself.
This commit is contained in:
parent
7720ce7827
commit
46c83cbf3d
2 changed files with 14 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ struct wlr_headless_backend {
|
|||
size_t last_output_num;
|
||||
struct wl_list input_devices;
|
||||
struct wl_listener display_destroy;
|
||||
struct wl_listener renderer_destroy;
|
||||
bool started;
|
||||
GLenum internal_format;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue