sway-patched-tray-menu-github/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
..
commands Implement iterators per container type 2018-08-18 23:38:54 +10:00
config Allow a fallback color to be specified for swaybg 2018-08-08 15:37:06 -04:00
desktop Implement iterators per container type 2018-08-18 23:38:54 +10:00
input Implement iterators per container type 2018-08-18 23:38:54 +10:00
tree Implement iterators per container type 2018-08-18 23:38:54 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Write to swaynag pipe fd directly on config errors 2018-08-03 10:37:35 -04:00
config.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
criteria.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
debug-tree.c Add L_FLOATING back to debug tree 2018-06-01 23:14:58 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c ipc: add window::mark event 2018-08-01 16:57:15 +01:00
ipc-server.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
main.c Remove obsolete security sanity check 2018-08-09 08:45:32 -04:00
meson.build Listen to server-decoration mode changes 2018-08-06 15:20:30 +01:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd man: Correct format for output position config 2018-08-11 18:41:31 +02:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00