aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/container.h1
-rw-r--r--include/sway/layout.h2
-rw-r--r--include/sway/workspace.h6
3 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/container.h b/include/sway/container.h
index 35d1c146..2a96165f 100644
--- a/include/sway/container.h
+++ b/include/sway/container.h
@@ -126,5 +126,6 @@ struct sway_container {
126}; 126};
127 127
128swayc_t *new_output(struct sway_output *sway_output); 128swayc_t *new_output(struct sway_output *sway_output);
129swayc_t *new_workspace(swayc_t *output, const char *name);
129 130
130#endif 131#endif
diff --git a/include/sway/layout.h b/include/sway/layout.h
index 7e7a9c35..6356ad00 100644
--- a/include/sway/layout.h
+++ b/include/sway/layout.h
@@ -5,5 +5,7 @@ struct sway_container;
5 5
6void init_layout(void); 6void init_layout(void);
7void add_child(struct sway_container *parent, struct sway_container *child); 7void add_child(struct sway_container *parent, struct sway_container *child);
8enum swayc_layouts default_layout(struct sway_container *output);
9void sort_workspaces(struct sway_container *output);
8 10
9#endif 11#endif
diff --git a/include/sway/workspace.h b/include/sway/workspace.h
new file mode 100644
index 00000000..04b2ea4e
--- /dev/null
+++ b/include/sway/workspace.h
@@ -0,0 +1,6 @@
1#ifndef _SWAY_WORKSPACE_H
2#define _SWAY_WORKSPACE_H
3
4char *workspace_next_name(const char *output_name);
5
6#endif