swayfx/sway
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
This PR changes the way we handle transactions to a more simple method.
The new method is to mark containers as dirty from low level code
(eg. arranging, or container_destroy, and eventually seat_set_focus),
then call transaction_commit_dirty which picks up those containers and
runs them through a transaction. The old methods of using transactions
(arrange_and_commit, or creating one manually) are now no longer
possible.

The highest-level code (execute_command and view implementation
handlers) will call transaction_commit_dirty, so most other code just
needs to set containers as dirty. This is done by arranging, but can
also be done by calling container_set_dirty.
2018-07-14 23:14:55 +10:00
..
commands Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
config increase maximum value of button identifier 2018-07-12 12:08:53 +02:00
desktop Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
input Merge pull request #2252 from rkubosz/scroll-button-option 2018-07-13 04:07:11 -07:00
tree Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
config.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
criteria.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
ipc-json.c Add get_config message type to ipc 2018-07-10 12:37:37 +01:00
ipc-server.c Add get_config message type to ipc 2018-07-10 12:37:37 +01:00
main.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
meson.build add scroll button option 2018-07-11 22:03:06 +02:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd add paragraph to sway-input man page 2018-07-12 15:35:14 +02:00
sway.1.scd Add sway(5) 2018-05-11 21:03:43 -04:00
sway.5.scd Document focus floating|tiling 2018-07-09 22:22:23 +01:00