mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2025-01-10 17:59:48 +01:00
Merge pull request #669 from acrisci/headless-output-frame-timer
destroy frame timer in headless output
This commit is contained in:
commit
7da653bbb4
1 changed files with 2 additions and 0 deletions
|
@ -67,6 +67,8 @@ static void output_destroy(struct wlr_output *wlr_output) {
|
||||||
|
|
||||||
wl_list_remove(&output->link);
|
wl_list_remove(&output->link);
|
||||||
|
|
||||||
|
wl_event_source_remove(output->frame_timer);
|
||||||
|
|
||||||
eglDestroySurface(output->backend->egl.display, output->egl_surface);
|
eglDestroySurface(output->backend->egl.display, output->egl_surface);
|
||||||
free(output);
|
free(output);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue