diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:52:17 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 19:52:17 -0400 |
commit | a001890fb8a9fc8c7f0b8eac03ca5912be2de479 (patch) | |
tree | 2127025dfa5c7cfed6e75188d38ffdda448f9163 /include | |
parent | move output damage to workspace destructor (diff) | |
download | sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.tar.gz sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.tar.zst sway-a001890fb8a9fc8c7f0b8eac03ca5912be2de479.zip |
move workspace create to workspace.c
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index f36b4bd1..277165ea 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -95,7 +95,7 @@ struct sway_container *container_create(enum sway_container_type type); | |||
95 | 95 | ||
96 | const char *container_type_to_str(enum sway_container_type type); | 96 | const char *container_type_to_str(enum sway_container_type type); |
97 | 97 | ||
98 | struct sway_container *container_output_create( | 98 | struct sway_container *output_create( |
99 | struct sway_output *sway_output); | 99 | struct sway_output *sway_output); |
100 | 100 | ||
101 | /** | 101 | /** |
@@ -108,13 +108,13 @@ struct sway_container *container_container_create(); | |||
108 | * Create a new output. Outputs are children of the root container and have no | 108 | * Create a new output. Outputs are children of the root container and have no |
109 | * order in the tree structure. | 109 | * order in the tree structure. |
110 | */ | 110 | */ |
111 | struct sway_container *container_output_create(struct sway_output *sway_output); | 111 | struct sway_container *output_create(struct sway_output *sway_output); |
112 | 112 | ||
113 | /** | 113 | /** |
114 | * Create a new workspace container. Workspaces are children of an output | 114 | * Create a new workspace container. Workspaces are children of an output |
115 | * container and are ordered alphabetically by name. | 115 | * container and are ordered alphabetically by name. |
116 | */ | 116 | */ |
117 | struct sway_container *container_workspace_create(struct sway_container *output, const char *name); | 117 | struct sway_container *workspace_create(struct sway_container *output, const char *name); |
118 | 118 | ||
119 | /* | 119 | /* |
120 | * Create a new view container. A view can be a child of a workspace container | 120 | * Create a new view container. A view can be a child of a workspace container |
@@ -178,4 +178,6 @@ bool container_has_anscestor(struct sway_container *container, | |||
178 | bool container_has_child(struct sway_container *con, | 178 | bool container_has_child(struct sway_container *con, |
179 | struct sway_container *child); | 179 | struct sway_container *child); |
180 | 180 | ||
181 | void container_create_notify(struct sway_container *container); | ||
182 | |||
181 | #endif | 183 | #endif |