sway-patched-tray-menu-github/sway/commands
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
..
bar Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
input add error handling for scroll button out of range 2018-07-13 11:39:39 +02:00
output Add get_config message type to ipc 2018-07-10 12:37:37 +01:00
seat Fix border commands from changing focus 2018-05-20 23:12:33 -04:00
assign.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
bar.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
bind.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
border.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
client.c Convert border_colors.text to float[4] 2018-05-03 08:14:17 -04:00
default_border.c Allow setting border widths for normal borders using default_border. 2018-05-10 23:35:37 -07:00
default_orientation.c Add default_orientation command 2018-03-30 10:43:55 -04:00
exec.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
exec_always.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
exit.c remove checks for command handlers 2018-02-24 13:22:57 -05:00
floating.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
floating_minmax_size.c Implement floating_minimum_size and floating_maximum_size 2018-07-11 22:16:48 +10:00
focus.c Implement focus mode_toggle 2018-07-09 22:22:17 +01:00
focus_follows_mouse.c Implement focus_follows_mouse 2018-03-31 13:05:45 -04:00
focus_wrapping.c Implement focus_wrapping 2018-05-27 23:20:21 -04:00
font.c Implement pango support 2018-05-06 08:25:22 +10:00
for_window.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
force_focus_wrapping.c Support i3's legacy force_focus_wrapping command 2018-05-28 11:09:46 -04:00
fullscreen.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
gaps.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
hide_edge_borders.c Implement hide_edge_borders 2018-05-11 18:44:56 -04:00
include.c Add include command 2017-12-05 18:47:57 +01:00
input.c add scroll button option 2018-07-11 22:03:06 +02:00
kill.c address feedback 2018-04-03 19:23:59 -04:00
layout.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
mark.c Implement show_marks 2018-05-17 08:29:14 +10:00
mode.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
mouse_warping.c Implement mouse warping 2018-03-31 13:05:45 -04:00
move.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
opacity.c Simplify damage tracking functions, use them in layer shell 2018-04-06 11:45:40 -04:00
output.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
reload.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
rename.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
resize.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
seat.c Address first round of review for generic blocks 2018-06-02 08:07:44 -04:00
set.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
show_marks.c Implement show_marks 2018-05-17 08:29:14 +10:00
smart_gaps.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
split.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
sticky.c Replace is_floating boolean with function 2018-06-01 23:14:58 +10:00
swap.c Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
swaybg_command.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
title_format.c Move code for re-arranging after font height change into a common place 2018-05-05 22:29:37 +10:00
unmark.c Implement show_marks 2018-05-17 08:29:14 +10:00
workspace.c Update for swaywm/wlroots#1126 2018-07-09 22:54:30 +01:00
workspace_layout.c Implement config parser for workspace_layout 2018-05-28 22:55:06 -04:00
ws_auto_back_and_forth.c Add workspace_auto_back_and_forth command 2018-04-08 16:44:59 +02:00