diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-02 16:44:34 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-02 19:36:03 +0200 |
commit | 46c83cbf3daf6c38c70d0dcb5492e164b6c8ab29 (patch) | |
tree | b0e14258c677fb5d5ea7ca9d738419b28c2bf596 /include | |
parent | 7720ce7827e8bdaaf42f72fb29ecf91a2d3c2294 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/headless.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index 564cb154..5681c2bd 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -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; }; |