mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
output: introduce wlr_output_finish()
This commit is contained in:
parent
7963ba6a0d
commit
d5d650f9f6
6 changed files with 22 additions and 7 deletions
|
|
@ -80,8 +80,10 @@ static bool output_commit(struct wlr_output *wlr_output,
|
|||
}
|
||||
|
||||
static void output_destroy(struct wlr_output *wlr_output) {
|
||||
struct wlr_headless_output *output =
|
||||
headless_output_from_output(wlr_output);
|
||||
struct wlr_headless_output *output = headless_output_from_output(wlr_output);
|
||||
|
||||
wlr_output_finish(wlr_output);
|
||||
|
||||
wl_list_remove(&output->link);
|
||||
wl_event_source_remove(output->frame_timer);
|
||||
free(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue