diff options
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r-- | include/sway/tree/workspace.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h index 3337f2c8..056f2329 100644 --- a/include/sway/tree/workspace.h +++ b/include/sway/tree/workspace.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _SWAY_WORKSPACE_H | 1 | #ifndef _SWAY_WORKSPACE_H |
2 | #define _SWAY_WORKSPACE_H | 2 | #define _SWAY_WORKSPACE_H |
3 | 3 | ||
4 | #include <stdbool.h> | ||
4 | #include "sway/tree/container.h" | 5 | #include "sway/tree/container.h" |
5 | 6 | ||
6 | struct sway_view; | 7 | struct sway_view; |
@@ -15,9 +16,12 @@ struct sway_workspace { | |||
15 | 16 | ||
16 | extern char *prev_workspace_name; | 17 | extern char *prev_workspace_name; |
17 | 18 | ||
19 | struct sway_container *workspace_get_initial_output(const char *name); | ||
20 | |||
18 | char *workspace_next_name(const char *output_name); | 21 | char *workspace_next_name(const char *output_name); |
19 | 22 | ||
20 | bool workspace_switch(struct sway_container *workspace); | 23 | bool workspace_switch(struct sway_container *workspace, |
24 | bool no_auto_back_and_forth); | ||
21 | 25 | ||
22 | struct sway_container *workspace_by_number(const char* name); | 26 | struct sway_container *workspace_by_number(const char* name); |
23 | 27 | ||