aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-22 20:39:27 -0500
committerDrew DeVault <sir@cmpwn.com>2017-11-22 20:39:50 -0500
commitaeda2e077f6184ecd26dc078c7b5db7f0dc54fd7 (patch)
tree0e84fc6ce2409ef5c60210efd18cb0981e3f9cf7 /include
parent68036018c8a19f1ec3536e8111899fe280aad38d (diff)
Add workspace to outputs
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 {
};
swayc_t *new_output(struct sway_output *sway_output);
+swayc_t *new_workspace(swayc_t *output, const char *name);
#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;
void init_layout(void);
void add_child(struct sway_container *parent, struct sway_container *child);
+enum swayc_layouts default_layout(struct sway_container *output);
+void sort_workspaces(struct sway_container *output);
#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 @@
+#ifndef _SWAY_WORKSPACE_H
+#define _SWAY_WORKSPACE_H
+
+char *workspace_next_name(const char *output_name);
+
+#endif