aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/workspace.h')
-rw-r--r--include/sway/workspace.h14
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
4struct sway_container;
5
6extern char *prev_workspace_name;
7
4char *workspace_next_name(const char *output_name); 8char *workspace_next_name(const char *output_name);
9swayc_t *workspace_create(const char *name);
10bool workspace_switch(swayc_t *workspace);
11
12struct sway_container *workspace_by_number(const char* name);
13swayc_t *workspace_by_name(const char*);
14
15struct sway_container *workspace_output_next(struct sway_container *current);
16struct sway_container *workspace_next(struct sway_container *current);
17struct sway_container *workspace_output_prev(struct sway_container *current);
18struct sway_container *workspace_prev(struct sway_container *current);
5 19
6#endif 20#endif