diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-02 11:49:53 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-05 10:20:19 +0200 |
commit | c7018a45b7ff0fada06a1f825e168e845fa30209 (patch) | |
tree | 4ab46fdd63eb624454c63439f50a446ab06afaa5 /include/render/allocator.h | |
parent | 0a522cb79885667e1ca3cafd0b6581ba8a3e92d1 (diff) |
surface: allow locking pending state in commit handler
We were bumping the pending sequence number after emitting the
commit event, so commit handlers were seeing inconsistent state
where current.seq == pending.seq. This prevents commit handlers
from immediately locking the pending state.
Fix this by bumping the pending sequence number before firing the
commit event.
Diffstat (limited to 'include/render/allocator.h')
0 files changed, 0 insertions, 0 deletions