sway-patched-tray-menu-github/sway/desktop
Ryan Dwyer c3ef36d6b5 Simplify transactions
Commit 4b8e3a885b makes it so only one
transaction is committed (ie. configures sent) at a time. This commit
removes the now-unnecessary code which was used to support concurrent
committed transactions.

* Instead of containers storing a list of instructions which they've
been sent, it now stores a single instruction.
* Containers now have an ntxnrefs property. Previously we knew how many
references there were by the length of the instruction list.
* Instructions no longer need a ready property. It was used to avoid
marking an instruction ready twice when they were in a list, but this is
now avoided because there is only one instruction and we nullify the
container->instruction pointer when it's ready.
* When a transaction applies, we no longer need to consider releasing
and resaving the surface, as we know there are no other committed
transactions.
* transaction_notify_view_ready has been renamed to
view_notify_view_ready_by_serial to make it consistent with
transaction_notify_view_ready_by_size.
* Out-of-memory checks have been added when creating transactions and
instructions.
2018-08-15 10:03:55 +10:00
..
desktop.c Implement some floating move commands 2018-07-09 23:38:29 +10:00
idle_inhibit_v1.c Fix memory leak in sway/desktop/idle_inhibit_v1.c 2018-07-17 11:35:24 -04:00
layer_shell.c Address first round review for swaynag 2018-08-01 22:47:54 -04:00
output.c Revert "Revert "Fix popups"" 2018-08-02 23:36:36 +10:00
render.c Convert toplevel coordinates to output-local 2018-08-02 23:36:36 +10:00
transaction.c Simplify transactions 2018-08-15 10:03:55 +10:00
xdg_shell.c Simplify transactions 2018-08-15 10:03:55 +10:00
xdg_shell_v6.c Simplify transactions 2018-08-15 10:03:55 +10:00
xwayland.c Simplify transactions 2018-08-15 10:03:55 +10:00