aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/output.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-24 22:32:57 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-24 22:32:57 -0500
commit721e4ec55f435e603bdd6461f6016e442c233e1f (patch)
tree8c354ed39ee821488cb08fbd5efdf01370558cf5 /backend/headless/output.c
parent9dc868a27fde02acd5f61baf3ebd9ca98f26d420 (diff)
remove frame timer from headless output
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r--backend/headless/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index ba4a094e..6ce8fc35 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -67,6 +67,8 @@ static void output_destroy(struct wlr_output *wlr_output) {
wl_list_remove(&output->link);
+ wl_event_source_remove(output->frame_timer);
+
eglDestroySurface(output->backend->egl.display, output->egl_surface);
free(output);
}