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:
parent
40e3be3436
commit
bf7316a453
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue