aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 20:39:27 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-11-22 20:39:50 -0500
commitaeda2e077f6184ecd26dc078c7b5db7f0dc54fd7 (patch)
tree0e84fc6ce2409ef5c60210efd18cb0981e3f9cf7 /include
parentMerge pull request #1472 from martinetd/wlroots (diff)
downloadsway-aeda2e077f6184ecd26dc078c7b5db7f0dc54fd7.tar.gz
sway-aeda2e077f6184ecd26dc078c7b5db7f0dc54fd7.tar.zst
sway-aeda2e077f6184ecd26dc078c7b5db7f0dc54fd7.zip
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 {
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