swayfx/include/sway
Ryan Dwyer d6cd79c342 Implement iterators per container type
This introduces the following `for_each` functions:

* root_for_each_workspace
* root_for_each_container
* output_for_each_workspace
* output_for_each_container
* workspace_for_each_container

And introduces the following `find` functions:

* root_find_output
* root_find_workspace
* root_find_container
* output_find_workspace
* output_find_container
* workspace_find_container
* container_find_child

And removes the following functions:

* container_descendants
* container_for_each_descendant
* container_find

This change is preparing the way for demoting sway_container. Eventually
these functions will accept and return sway_outputs, sway_workspaces and
sway_containers (meaning a C_CONTAINER or C_VIEW).

This change also makes it easy to handle abnormalities like the
workspace floating list, root's scratchpad list and (once implemented)
root's saved workspaces list for when there's no connected outputs.
2018-08-18 23:38:54 +10:00
..
desktop Simplify transactions 2018-08-15 10:03:55 +10:00
input Don't send motion if the cursor hasn't moved 2018-08-18 09:29:18 +10:00
tree Implement iterators per container type 2018-08-18 23:38:54 +10:00
commands.h Implement resizing tiled containers via cursor 2018-08-12 10:45:54 +10:00
config.h Allow a fallback color to be specified for swaybg 2018-08-08 15:37:06 -04:00
criteria.h reverted includes of "sway/config.h" and replaced with "config.h" from meson build 2018-07-25 13:32:20 +02:00
debug.h Add extended debugging flags 2018-07-14 20:44:32 -04:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01: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 ipc: add binding event 2018-08-01 16:57:15 +01: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 Implement iterators per container type 2018-08-18 23:38:54 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xwayland.h Automatically float xwayland windows 2018-06-18 22:52:10 +01:00