diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-12 21:27:28 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-16 00:18:26 +0100 |
commit | c8bf84c82d82e332c1bb83ff27c3df87576c892e (patch) | |
tree | cff03b4c167b30b9725e56654582f220dfc80c8f /README.dk.md | |
parent | b944735b47a660efbe55563ecfbc086636c9832b (diff) |
transactions: Amend pending transactions
The transaction system contains a necessary optimization where a popped
transaction is combined with later, similar transactions. This breaks
the chronological order of states, and can lead to desynchronized
geometries.
To fix this, we replace the queue with only 2 transactions: current and
pending. If a pending transaction exists, it is updated with new state
instead of creating additional transactions.
As we never have more than a single waiting transaction, we no longer
need the queue optimization that is causing problems.
Closes: https://github.com/swaywm/sway/issues/6012
Diffstat (limited to 'README.dk.md')
0 files changed, 0 insertions, 0 deletions