diff options
author | 2018-08-29 08:29:11 +1000 | |
---|---|---|
committer | 2018-08-29 08:29:11 +1000 | |
commit | b12f7be9071f085894b47950cc0e1fda2187d7e5 (patch) | |
tree | c2d50ea44c1857ec0c0132d9e73f7c32ab7fb91e /README.uk.md | |
parent | Merge pull request #2526 from ianyfan/commands (diff) | |
download | sway-b12f7be9071f085894b47950cc0e1fda2187d7e5.tar.gz sway-b12f7be9071f085894b47950cc0e1fda2187d7e5.tar.zst sway-b12f7be9071f085894b47950cc0e1fda2187d7e5.zip |
Don't use bitfield to test for similar transactions
When there's multiple transactions in the queue, sway can take a
shortcut by checking if they all operate on the same set of containers.
If they do, it can skip all but the last transaction. The way we tested
for transactions which used the same containers was to exclusive-or
their con IDs together, but this has proved not only to be ineffective
but also has the potential to make sway crash.
This patch replaces the exclusive-or with a loop and container
comparison.
Diffstat (limited to 'README.uk.md')
0 files changed, 0 insertions, 0 deletions