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@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-11-03 10:38:19 +00:00
parent 40e3be3436
commit bf7316a453
1 changed files with 1 additions and 1 deletions

View File

@ -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;