aboutsummaryrefslogtreecommitdiff
path: root/include/workspace.h
diff options
context:
space:
mode:
authorprogandy <code@progandy>2015-12-17 22:28:41 +0100
committerprogandy <code@progandy>2015-12-18 01:21:31 +0100
commit8f1ac1ef2c77665e7c17eaa6a46ea1b6d68e5c22 (patch)
tree83806713b8d0f1c562b70ca2f2a87bde30095191 /include/workspace.h
parent89341c0c702573065676eb5cf1ac2fcc6091eacf (diff)
sway: enable workspace selection by number
Diffstat (limited to 'include/workspace.h')
-rw-r--r--include/workspace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/workspace.h b/include/workspace.h
index b916f715..c69ccdbb 100644
--- a/include/workspace.h
+++ b/include/workspace.h
@@ -10,6 +10,7 @@ extern char *prev_workspace_name;
char *workspace_next_name(void);
swayc_t *workspace_create(const char*);
swayc_t *workspace_by_name(const char*);
+swayc_t *workspace_by_number(const char*);
bool workspace_switch(swayc_t*);
swayc_t *workspace_output_next();
swayc_t *workspace_next();