diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-25 00:26:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 00:26:32 -0500 |
commit | 7da653bbb4569d41ce1a46c97e3b10c675f73741 (patch) | |
tree | 70551930342763f15818fc2fbadf24f601a3b736 /backend/headless/output.c | |
parent | f5260361c807f4bd7fd77eda19bf1c914ffafb48 (diff) | |
parent | 721e4ec55f435e603bdd6461f6016e442c233e1f (diff) |
Merge pull request #669 from acrisci/headless-output-frame-timer
destroy frame timer in headless output
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r-- | backend/headless/output.c | 2 |
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); } |