aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/present/present_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/present/present_screen.c')
-rw-r--r--xorg-server/present/present_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/present/present_screen.c b/xorg-server/present/present_screen.c
index 50b2b2d23..2702cd6ca 100644
--- a/xorg-server/present/present_screen.c
+++ b/xorg-server/present/present_screen.c
@@ -92,7 +92,7 @@ present_clear_window_flip(WindowPtr window)
if (flip_pending && flip_pending->window == window) {
assert (flip_pending->abort_flip);
- flip_pending->window_destroyed = TRUE;
+ flip_pending->window = NULL;
}
if (screen_priv->flip_window == window)
screen_priv->flip_window = NULL;