diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-10 15:15:27 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-10 15:15:27 -0500 |
commit | bfd2e8536485c2a8c21eadaa46d03b0709e85fcf (patch) | |
tree | 7b2b84cfca6c367289626e34a0d8de78429c4638 /include | |
parent | separate seat get focus and seat get focus inactive (diff) | |
download | sway-bfd2e8536485c2a8c21eadaa46d03b0709e85fcf.tar.gz sway-bfd2e8536485c2a8c21eadaa46d03b0709e85fcf.tar.zst sway-bfd2e8536485c2a8c21eadaa46d03b0709e85fcf.zip |
refactor workspace.h
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/workspace.h | 10 |
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 @@ | |||
1 | #ifndef _SWAY_WORKSPACE_H | 1 | #ifndef _SWAY_WORKSPACE_H |
2 | #define _SWAY_WORKSPACE_H | 2 | #define _SWAY_WORKSPACE_H |
3 | 3 | ||
4 | struct sway_container; | 4 | #include <sway/container.h> |
5 | 5 | ||
6 | extern char *prev_workspace_name; | 6 | extern char *prev_workspace_name; |
7 | 7 | ||
@@ -12,9 +12,9 @@ bool workspace_switch(swayc_t *workspace); | |||
12 | struct sway_container *workspace_by_number(const char* name); | 12 | struct sway_container *workspace_by_number(const char* name); |
13 | swayc_t *workspace_by_name(const char*); | 13 | swayc_t *workspace_by_name(const char*); |
14 | 14 | ||
15 | struct sway_container *workspace_output_next(struct sway_container *current); | 15 | struct sway_container *workspace_output_next(swayc_t *current); |
16 | struct sway_container *workspace_next(struct sway_container *current); | 16 | struct sway_container *workspace_next(swayc_t *current); |
17 | struct sway_container *workspace_output_prev(struct sway_container *current); | 17 | struct sway_container *workspace_output_prev(swayc_t *current); |
18 | struct sway_container *workspace_prev(struct sway_container *current); | 18 | struct sway_container *workspace_prev(swayc_t *current); |
19 | 19 | ||
20 | #endif | 20 | #endif |