diff options
author | Drew DeVault <[email protected]> | 2017-11-22 21:06:08 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2017-11-22 21:06:08 -0500 |
commit | 4ca1e77fdbbf559a5bb28d4936afa6ade63985cd (patch) | |
tree | 935c9a56d20f591688d196a85cecfc6080727d26 /include/sway/container.h | |
parent | aeda2e077f6184ecd26dc078c7b5db7f0dc54fd7 (diff) |
Add views to tree and render them
Diffstat (limited to 'include/sway/container.h')
-rw-r--r-- | include/sway/container.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h index 2a96165f..96e4db69 100644 --- a/include/sway/container.h +++ b/include/sway/container.h @@ -125,7 +125,11 @@ struct sway_container { list_t *marks; }; +void swayc_descendants_of_type(swayc_t *root, enum swayc_types type, + void (*func)(swayc_t *item, void *data), void *data); + swayc_t *new_output(struct sway_output *sway_output); swayc_t *new_workspace(swayc_t *output, const char *name); +swayc_t *new_view(swayc_t *sibling, struct sway_view *sway_view); #endif |