aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input
diff options
context:
space:
mode:
authorLibravatar Kenny Levinsen <kl@kl.wtf>2021-02-12 21:27:28 +0100
committerLibravatar Simon Ser <contact@emersion.fr>2021-02-16 00:18:26 +0100
commitc8bf84c82d82e332c1bb83ff27c3df87576c892e (patch)
treecff03b4c167b30b9725e56654582f220dfc80c8f /sway/input
parentAlign ordering of core node properties with i3 (diff)
downloadsway-c8bf84c82d82e332c1bb83ff27c3df87576c892e.tar.gz
sway-c8bf84c82d82e332c1bb83ff27c3df87576c892e.tar.zst
sway-c8bf84c82d82e332c1bb83ff27c3df87576c892e.zip
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 'sway/input')
0 files changed, 0 insertions, 0 deletions