mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
present: Add cleanups for window flip mode
Make sure that vblanks and windows get cleaned up correctly in window flip mode. Signed-off-by: Roman Gilg <subdiff@gmail.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
@@ -172,6 +172,8 @@ present_vblank_destroy(present_vblank_ptr vblank)
|
||||
{
|
||||
/* Remove vblank from window and screen lists */
|
||||
xorg_list_del(&vblank->window_list);
|
||||
/* Also make sure vblank is removed from event queue (wnmd) */
|
||||
xorg_list_del(&vblank->event_queue);
|
||||
|
||||
DebugPresent(("\td %lld %p %8lld: %08lx -> %08lx\n",
|
||||
vblank->event_id, vblank, vblank->target_msc,
|
||||
|
||||
Reference in New Issue
Block a user