xf86-video-intel: src/sna/sna_dri2.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Nov 3 10:40:08 UTC 2016
src/sna/sna_dri2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bf7316a4539afdf7a742d2b2ccbbaa5f27918255
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Nov 3 10:38:19 2016 +0000
sna/dri2: Don't request a signal following a dead flip completion
If we do flip to restore the bo after the current Window is destroyed,
we should not request that we send an event back to the client.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index 22a6f6c..697a729 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -2846,7 +2846,7 @@ sna_dri2_flip_continue(struct sna_dri2_event *info)
info->flip_continue = 0;
assert(!info->signal);
- info->signal = info->type == FLIP_THROTTLE;
+ info->signal = info->type == FLIP_THROTTLE && info->draw;
if (info->sna->mode.front_active == 0)
return false;
More information about the xorg-commit
mailing list