When using present_notify_msc with current or past msc, we except it to respond 
right away.
It was not the case since it was waiting next vblank.

Signed-off-by: Axel Davy <[email protected]>
---
 present/present.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/present/present.c b/present/present.c
index 47566c7..413a22f 100644
--- a/present/present.c
+++ b/present/present.c
@@ -756,7 +756,7 @@ present_pixmap(WindowPtr window,
             }
         } else {
             target_msc = crtc_msc;
-            if (!(options & PresentOptionAsync))
+            if (pixmap && !(options & PresentOptionAsync))
                 target_msc++;
         }
     }
-- 
2.1.0

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to