summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-04 16:44:49 +0100
committerLibravatar Mikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-03-04 16:44:49 +0100
commit8ddafeeaae44db77bfdb55d1776513d88a58f68e (patch)
tree4f4400de4a29dfa18ae10da6e71ea60146190155 /include
parentMerge pull request #495 from gpyh/docswaybar (diff)
downloadsway-8ddafeeaae44db77bfdb55d1776513d88a58f68e.tar.gz
sway-8ddafeeaae44db77bfdb55d1776513d88a58f68e.tar.zst
sway-8ddafeeaae44db77bfdb55d1776513d88a58f68e.zip
Fix assigning workspaces to outputs
It's possible to assign workspaces to certain outputs using the command: workspace <name> output <output> However, this did not work in some cases where the workspace was assigned before the given output was made available to sway. This patch fixes those cases.
Diffstat (limited to 'include')
-rw-r--r--include/workspace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/workspace.h b/include/workspace.h
index c69ccdbb..6911e3d4 100644
--- a/include/workspace.h
+++ b/include/workspace.h
@@ -7,7 +7,7 @@
7 7
8extern char *prev_workspace_name; 8extern char *prev_workspace_name;
9 9
10char *workspace_next_name(void); 10char *workspace_next_name(const char *output_name);
11swayc_t *workspace_create(const char*); 11swayc_t *workspace_create(const char*);
12swayc_t *workspace_by_name(const char*); 12swayc_t *workspace_by_name(const char*);
13swayc_t *workspace_by_number(const char*); 13swayc_t *workspace_by_number(const char*);