swayfx/sway
Kenny Levinsen c8bf84c82d 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
2021-02-16 00:18:26 +01:00
..
commands input: Only commit transactions when necessary 2021-02-14 13:19:08 -05:00
config config/output: correct refresh rate rounding error 2021-01-15 22:53:19 +01:00
desktop transactions: Amend pending transactions 2021-02-16 00:18:26 +01:00
input text_input: Only send surrounding_text and content_type if supported 2021-02-15 16:45:35 -05:00
tree view: Read geometry directly in view_update_size 2021-02-09 09:37:10 +01:00
commands.c Declare all struct cmd_handler arrays const 2021-02-04 09:49:06 +01:00
config.c Log when config file is not found 2021-01-17 18:07:13 +01:00
criteria.c criteria: fix crash when comparing NULL properties 2020-12-04 10:49:49 +01:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Align ordering of core node properties with i3 2021-02-15 18:14:27 -05:00
ipc-server.c Fix incorrect format specifiers 2020-07-30 22:02:42 -04:00
main.c Make command line option lists const 2021-02-04 09:49:06 +01:00
meson.build input/tablet: add tool_mode option to set tablet tools as relative input 2020-10-12 15:01:37 +02:00
server.c transactions: Amend pending transactions 2021-02-16 00:18:26 +01:00
sway-bar.5.scd Add support for workspace_min_width bar option. 2020-10-11 19:12:42 +02:00
sway-input.5.scd hide_cursor: Add an option to hide when typing 2020-10-30 09:59:54 +01:00
sway-ipc.7.scd document parse_error 2020-11-21 11:42:29 +01:00
sway-output.5.scd Simplify repaint scheduling documentation 2020-05-11 10:36:33 +02:00
sway.1.scd man: update maintainer 2021-01-08 09:33:51 +01:00
sway.5.scd Change workspace_layout to match i3 behavior 2020-12-20 00:58:42 -05:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00