aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-04-03 19:52:17 -0400
committerFurkan Sahin <furkan-dev@proton.me>2018-04-03 19:52:17 -0400
commit22bd85bb0bf7b930f31648a09027f77568e30d7f (patch)
tree2127025dfa5c7cfed6e75188d38ffdda448f9163 /include
parent981d2d2b885d43f5003182df72c47eefd1db7e49 (diff)
move workspace create to workspace.c
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/container.h8
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);
const char *container_type_to_str(enum sway_container_type type);
-struct sway_container *container_output_create(
+struct sway_container *output_create(
struct sway_output *sway_output);
/**
@@ -108,13 +108,13 @@ struct sway_container *container_container_create();
* Create a new output. Outputs are children of the root container and have no
* order in the tree structure.
*/
-struct sway_container *container_output_create(struct sway_output *sway_output);
+struct sway_container *output_create(struct sway_output *sway_output);
/**
* Create a new workspace container. Workspaces are children of an output
* container and are ordered alphabetically by name.
*/
-struct sway_container *container_workspace_create(struct sway_container *output, const char *name);
+struct sway_container *workspace_create(struct sway_container *output, const char *name);
/*
* 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,
bool container_has_child(struct sway_container *con,
struct sway_container *child);
+void container_create_notify(struct sway_container *container);
+
#endif