diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-09 15:15:17 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-18 10:48:44 +0100 |
commit | 248c7787c7b487ff4157bfef38662776ea7b38d9 (patch) | |
tree | 60586492f53f67b873732558cb7d55ab7dd24a14 /include | |
parent | 019ffe8a5ba7f97181c56ad2b9a772c717391feb (diff) |
backend/drm: refactor wlr_output destruction
Instead of hand-rolling our own manual wlr_output cleanup function, rely
on wlr_output_destroy to remove an output from the compositor's state.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index cd534202..6fdfe41a 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -147,6 +147,7 @@ void finish_drm_resources(struct wlr_drm_backend *drm); void restore_drm_outputs(struct wlr_drm_backend *drm); void scan_drm_connectors(struct wlr_drm_backend *state); int handle_drm_event(int fd, uint32_t mask, void *data); +void destroy_drm_connector(struct wlr_drm_connector *conn); bool drm_connector_set_mode(struct wlr_drm_connector *conn, struct wlr_output_mode *mode); bool drm_connector_is_cursor_visible(struct wlr_drm_connector *conn); |