aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-06 11:30:14 -0400
committerGitHub <noreply@github.com>2018-08-06 11:30:14 -0400
commit1a8bee68b40f641f57adc97d0f2ffcf5e2ed544d (patch)
tree3df803a95c0a13f4dc9b627db505ba50d5e6a6d2 /include/sway/tree/workspace.h
parent0cd418ba42bf7fa9570a2c1c09cea153d3337c7a (diff)
parentf7c21451dfa7c4ffdce1307b5856707a0ed40405 (diff)
Merge pull request #2392 from ianyfan/commands
Fix commands: criteria, layout, move, workspace
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r--include/sway/tree/workspace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 3337f2c8..239cbbdb 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;
@@ -17,7 +18,8 @@ extern char *prev_workspace_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);