aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/input_device.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-02 11:49:53 +0200
committerSimon Ser <contact@emersion.fr>2021-07-05 10:20:19 +0200
commitc7018a45b7ff0fada06a1f825e168e845fa30209 (patch)
tree4ab46fdd63eb624454c63439f50a446ab06afaa5 /backend/x11/input_device.c
parent0a522cb79885667e1ca3cafd0b6581ba8a3e92d1 (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 'backend/x11/input_device.c')
0 files changed, 0 insertions, 0 deletions