diff options
Diffstat (limited to 'include/sway/workspace.h')
-rw-r--r-- | include/sway/workspace.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sway/workspace.h b/include/sway/workspace.h index 04b2ea4e..30bbdaa8 100644 --- a/include/sway/workspace.h +++ b/include/sway/workspace.h | |||
@@ -1,6 +1,20 @@ | |||
1 | #ifndef _SWAY_WORKSPACE_H | 1 | #ifndef _SWAY_WORKSPACE_H |
2 | #define _SWAY_WORKSPACE_H | 2 | #define _SWAY_WORKSPACE_H |
3 | 3 | ||
4 | struct sway_container; | ||
5 | |||
6 | extern char *prev_workspace_name; | ||
7 | |||
4 | char *workspace_next_name(const char *output_name); | 8 | char *workspace_next_name(const char *output_name); |
9 | swayc_t *workspace_create(const char *name); | ||
10 | bool workspace_switch(swayc_t *workspace); | ||
11 | |||
12 | struct sway_container *workspace_by_number(const char* name); | ||
13 | swayc_t *workspace_by_name(const char*); | ||
14 | |||
15 | struct sway_container *workspace_output_next(struct sway_container *current); | ||
16 | struct sway_container *workspace_next(struct sway_container *current); | ||
17 | struct sway_container *workspace_output_prev(struct sway_container *current); | ||
18 | struct sway_container *workspace_prev(struct sway_container *current); | ||
5 | 19 | ||
6 | #endif | 20 | #endif |