aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-10 15:15:27 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-10 15:15:27 -0500
commitbfd2e8536485c2a8c21eadaa46d03b0709e85fcf (patch)
tree7b2b84cfca6c367289626e34a0d8de78429c4638 /include/sway
parenta7d49da23956c245f0e6b8f7dc9cb532eb14c4b9 (diff)
refactor workspace.h
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/workspace.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sway/workspace.h b/include/sway/workspace.h
index 30bbdaa8..ca6f9bdb 100644
--- a/include/sway/workspace.h
+++ b/include/sway/workspace.h
@@ -1,7 +1,7 @@
#ifndef _SWAY_WORKSPACE_H
#define _SWAY_WORKSPACE_H
-struct sway_container;
+#include <sway/container.h>
extern char *prev_workspace_name;
@@ -12,9 +12,9 @@ bool workspace_switch(swayc_t *workspace);
struct sway_container *workspace_by_number(const char* name);
swayc_t *workspace_by_name(const char*);
-struct sway_container *workspace_output_next(struct sway_container *current);
-struct sway_container *workspace_next(struct sway_container *current);
-struct sway_container *workspace_output_prev(struct sway_container *current);
-struct sway_container *workspace_prev(struct sway_container *current);
+struct sway_container *workspace_output_next(swayc_t *current);
+struct sway_container *workspace_next(swayc_t *current);
+struct sway_container *workspace_output_prev(swayc_t *current);
+struct sway_container *workspace_prev(swayc_t *current);
#endif