diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-17 15:50:48 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-17 15:53:41 -0700 |
commit | 382ff4a306b97b0ddcdac03ce8611b026ca5323b (patch) | |
tree | afbd2e7b9b91bebdbc0fda2516f4ba16b763bfe5 | |
parent | 1095c262502332bc570a9b288b01da51c1fa10ec (diff) |
present: Remove executing vblank from window list. Bug# 79709.
Once the vblank is actually getting executed, it's lifetime is no
longer tied to the window, and so it shouldn't be controlled by window
destruction. In particular, if the vblank is queued for flip, it will
get stored in the flip_pending field, and will be correctly destroyed
when the flip completes.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | present/present.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/present/present.c b/present/present.c index 1bf3a5865..165860af8 100644 --- a/present/present.c +++ b/present/present.c @@ -578,6 +578,7 @@ present_execute(present_vblank_ptr vblank, uint64_t ust, uint64_t crtc_msc) } xorg_list_del(&vblank->event_queue); + xorg_list_del(&vblank->window_list); vblank->queued = FALSE; if (vblank->pixmap && vblank->window) { |