diff options
Diffstat (limited to 'present')
-rw-r--r-- | present/present.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/present/present.c b/present/present.c index 9be690ce6..e838da792 100644 --- a/present/present.c +++ b/present/present.c @@ -938,11 +938,12 @@ present_flip_destroy(ScreenPtr screen) { present_screen_priv_ptr screen_priv = present_screen_priv(screen); - /* XXX this needs to be synchronous for server reset */ - - /* Do the actual cleanup once the flip has been performed by the hardware */ + /* Reset window pixmaps back to the screen pixmap */ if (screen_priv->flip_pending) present_set_abort_flip(screen); + + /* Drop reference to any pending flip or unflip pixmaps. */ + present_flip_idle(screen); } void |