diff options
Diffstat (limited to 'present')
-rw-r--r-- | present/present.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/present/present.c b/present/present.c index f624e5b7b..f488e21cc 100644 --- a/present/present.c +++ b/present/present.c @@ -399,7 +399,8 @@ present_set_abort_flip(ScreenPtr screen) present_set_tree_pixmap(screen_priv->flip_window, (*screen->GetScreenPixmap)(screen)); - present_set_tree_pixmap(screen->root, (*screen->GetScreenPixmap)(screen)); + if (screen->root) + present_set_tree_pixmap(screen->root, (*screen->GetScreenPixmap)(screen)); screen_priv->flip_pending->abort_flip = TRUE; } |