summaryrefslogtreecommitdiff
path: root/src/wfdevent.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-04 10:57:24 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-04 10:57:24 +0200
commitf15acc0180c110d14d2b9d3d4a5a6232e10551e2 (patch)
treed0a6cb24c3f74fac5192b566d0ff83d09de750ca /src/wfdevent.c
parent109c25558441ef3ba983aa5b4c72af17ff660fb4 (diff)
delay destroying fb_id's until pagelfip is done
Diffstat (limited to 'src/wfdevent.c')
-rw-r--r--src/wfdevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wfdevent.c b/src/wfdevent.c
index fb16816..1133cab 100644
--- a/src/wfdevent.c
+++ b/src/wfdevent.c
@@ -110,6 +110,8 @@ page_flip_handler(int fd, unsigned int frame,
{
struct wfd_pipeline *pipeline = data;
+ wfd_pipeline_destroy_pending_fb(pipeline);
+
flip_pipeline_id = wfd_pipeline_get_id(pipeline);
}