diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 12:15:31 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 14:21:42 -0400 |
commit | 874f009866abaf8ca43ed4cd88a69d22a3fbfc5a (patch) | |
tree | 05dff1efd73807aded434527ed1774250314116e /include/sway/tree/workspace.h | |
parent | Merge pull request #1643 from acrisci/xdg-protocol-header (diff) | |
download | sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.tar.gz sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.tar.zst sway-874f009866abaf8ca43ed4cd88a69d22a3fbfc5a.zip |
move tree includes to their own directory
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r-- | include/sway/tree/workspace.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h new file mode 100644 index 00000000..c8ce40d1 --- /dev/null +++ b/include/sway/tree/workspace.h | |||
@@ -0,0 +1,26 @@ | |||
1 | #ifndef _SWAY_WORKSPACE_H | ||
2 | #define _SWAY_WORKSPACE_H | ||
3 | |||
4 | #include "sway/tree/container.h" | ||
5 | |||
6 | extern char *prev_workspace_name; | ||
7 | |||
8 | char *workspace_next_name(const char *output_name); | ||
9 | |||
10 | swayc_t *workspace_create(const char *name); | ||
11 | |||
12 | bool workspace_switch(swayc_t *workspace); | ||
13 | |||
14 | struct sway_container *workspace_by_number(const char* name); | ||
15 | |||
16 | swayc_t *workspace_by_name(const char*); | ||
17 | |||
18 | struct sway_container *workspace_output_next(swayc_t *current); | ||
19 | |||
20 | struct sway_container *workspace_next(swayc_t *current); | ||
21 | |||
22 | struct sway_container *workspace_output_prev(swayc_t *current); | ||
23 | |||
24 | struct sway_container *workspace_prev(swayc_t *current); | ||
25 | |||
26 | #endif | ||