summaryrefslogtreecommitdiff
path: root/present
diff options
context:
space:
mode:
authorAxel Davy <axel.davy@ens.fr>2014-09-27 23:17:13 +0200
committerKeith Packard <keithp@keithp.com>2014-10-02 10:22:46 -0700
commit9bc01dfc7070a40f5948588895b3a11dd1636d0e (patch)
treeb25cb2b91dbd6a4233d8c4d23509564db7974ab3 /present
parentb3e9791fd375eb71b6150a77b8009b046b213004 (diff)
Fix present_pixmap when using present_notify_msc
Calling present_notify_msc could cancel a pending pixmap presentation. Signed-off-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'present')
-rw-r--r--present/present.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/present/present.c b/present/present.c
index e838da792..47566c74e 100644
--- a/present/present.c
+++ b/present/present.c
@@ -767,7 +767,7 @@ present_pixmap(WindowPtr window,
* in the same frame
*/
- if (!update) {
+ if (!update && pixmap) {
xorg_list_for_each_entry_safe(vblank, tmp, &window_priv->vblank, window_list) {
if (!vblank->pixmap)