diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-12-13 20:36:06 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-13 20:36:06 -0500 |
commit | 1aab9ae3e74d15e2c346acbab2ef2def59db72eb (patch) | |
tree | 6a3479fef295dc673c6bcdaac822f44523f94d8e /include/sway/container.h | |
parent | ab36a5a4d73ddb026c9b1d416c1e7388d63958ea (diff) | |
parent | cba592b3d2c516cab9f4e8325037dfdf6e30cb9a (diff) |
Merge pull request #1503 from emersion/output-config
Add output config
Diffstat (limited to 'include/sway/container.h')
-rw-r--r-- | include/sway/container.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sway/container.h b/include/sway/container.h index 08a98ed9..b15e0428 100644 --- a/include/sway/container.h +++ b/include/sway/container.h @@ -57,9 +57,9 @@ enum swayc_border_types { B_NORMAL, /**< Normal border with title bar */ }; +struct sway_root; struct sway_output; struct sway_view; -struct wlr_output_layout; /** * Stores information about a container. @@ -69,7 +69,7 @@ struct wlr_output_layout; struct sway_container { union { // TODO: Encapsulate state for other node types as well like C_CONTAINER - struct wlr_output_layout *output_layout; // C_ROOT + struct sway_root *sway_root; // C_ROOT struct sway_output *sway_output; // C_OUTPUT struct sway_view *sway_view; // C_VIEW }; @@ -132,6 +132,7 @@ 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); +swayc_t *destroy_output(swayc_t *output); swayc_t *destroy_view(swayc_t *view); swayc_t *swayc_parent_by_type(swayc_t *container, enum swayc_types type); |