summaryrefslogtreecommitdiff
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
authorBrian Ashworth <[email protected]>2018-08-08 15:26:44 -0400
committerGitHub <[email protected]>2018-08-08 15:26:44 -0400
commit3c26536267e13859eb6088ce0192579f10ac871f (patch)
treea4676629358071b0f0748dde33a32d82c9a58175 /include/sway/tree/workspace.h
parent776b9b7e1fa72ebc4f7e79de280ea5dd9901787e (diff)
parente28101e6e1ed757fe8a7402c5123ee7e58546895 (diff)
Merge branch 'master' into master
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 @@
#ifndef _SWAY_WORKSPACE_H
#define _SWAY_WORKSPACE_H
+#include <stdbool.h>
#include "sway/tree/container.h"
struct sway_view;
@@ -15,9 +16,12 @@ struct sway_workspace {
extern char *prev_workspace_name;
+struct sway_container *workspace_get_initial_output(const char *name);
+
char *workspace_next_name(const char *output_name);
-bool workspace_switch(struct sway_container *workspace);
+bool workspace_switch(struct sway_container *workspace,
+ bool no_auto_back_and_forth);
struct sway_container *workspace_by_number(const char* name);