aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r--include/sway/tree/workspace.h6
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
6struct sway_view; 7struct sway_view;
@@ -15,9 +16,12 @@ struct sway_workspace {
15 16
16extern char *prev_workspace_name; 17extern char *prev_workspace_name;
17 18
19struct sway_container *workspace_get_initial_output(const char *name);
20
18char *workspace_next_name(const char *output_name); 21char *workspace_next_name(const char *output_name);
19 22
20bool workspace_switch(struct sway_container *workspace); 23bool workspace_switch(struct sway_container *workspace,
24 bool no_auto_back_and_forth);
21 25
22struct sway_container *workspace_by_number(const char* name); 26struct sway_container *workspace_by_number(const char* name);
23 27