aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/workspace.h
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-02-24 23:29:08 +0100
committerLibravatar GitHub <noreply@github.com>2018-02-24 23:29:08 +0100
commit583c30dbe3e3249ec1b753fddbfa982db56dce31 (patch)
treece07d65ab79287280f1f5468e2e62eb5cbef4089 /include/sway/workspace.h
parentImplement workspaces (diff)
parentstatic bfs queue (diff)
downloadsway-583c30dbe3e3249ec1b753fddbfa982db56dce31.tar.gz
sway-583c30dbe3e3249ec1b753fddbfa982db56dce31.tar.zst
sway-583c30dbe3e3249ec1b753fddbfa982db56dce31.zip
Merge pull request #1585 from acrisci/focus-overhaul
focus overhaul
Diffstat (limited to 'include/sway/workspace.h')
-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..fee54255 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
4struct sway_container; 4#include "sway/container.h"
5 5
6extern char *prev_workspace_name; 6extern char *prev_workspace_name;
7 7
@@ -12,9 +12,9 @@ bool workspace_switch(swayc_t *workspace);
12struct sway_container *workspace_by_number(const char* name); 12struct sway_container *workspace_by_number(const char* name);
13swayc_t *workspace_by_name(const char*); 13swayc_t *workspace_by_name(const char*);
14 14
15struct sway_container *workspace_output_next(struct sway_container *current); 15struct sway_container *workspace_output_next(swayc_t *current);
16struct sway_container *workspace_next(struct sway_container *current); 16struct sway_container *workspace_next(swayc_t *current);
17struct sway_container *workspace_output_prev(struct sway_container *current); 17struct sway_container *workspace_output_prev(swayc_t *current);
18struct sway_container *workspace_prev(struct sway_container *current); 18struct sway_container *workspace_prev(swayc_t *current);
19 19
20#endif 20#endif