sway-patched-tray-menu-github/include/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
..
desktop Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
input Fix crash when deleting last child in a tabbed or stacked container 2018-06-23 17:47:28 +10:00
tree Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
commands.h add scroll button option 2018-07-11 22:03:06 +02:00
config.h add scroll button option 2018-07-11 22:03:06 +02:00
criteria.h Add shell criteria token 2018-05-27 22:02:00 +10:00
debug.h Add debug tree view 2018-04-06 11:49:27 -04:00
desktop.h Implement some floating move commands 2018-07-09 23:38:29 +10:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h Implement mode --pango_markup 2018-07-05 18:12:14 -04:00
layers.h sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
output.h Remove duplicate function declaration and add assertion 2018-07-09 23:41:00 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
xwayland.h Automatically float xwayland windows 2018-06-18 22:52:10 +01:00