aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-11 11:22:38 -0500
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-11-11 11:22:38 -0500
commit12876932a948d7265745efaccafea509bdbaffe8 (patch)
tree458a3acb6db39a78d26b4ce38ea637aa21812e29 /include/sway/config.h
parentMerge pull request #3098 from c-edw/feature/RefactorArgParse (diff)
downloadsway-12876932a948d7265745efaccafea509bdbaffe8.tar.gz
sway-12876932a948d7265745efaccafea509bdbaffe8.tar.zst
sway-12876932a948d7265745efaccafea509bdbaffe8.zip
Allow multiple outputs for workspace output
`i3 4.16` allows users to list multiple outputs for a workspace and the first available will be used. The syntax is as follows: `workspace <workspace> output <outputs...>` Additionally when the workspace is created, the outputs get added to the output priority list in the order specified. This ensures that if a higher output gets connected, the workspace will move to the higher output. This works the same way as if the user had a workspace on an output, disconnected the output, and then later reconnected the output.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index cd56c3dc..79c4359b 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -183,7 +183,7 @@ struct side_gaps {
183 */ 183 */
184struct workspace_config { 184struct workspace_config {
185 char *workspace; 185 char *workspace;
186 char *output; 186 list_t *outputs;
187 int gaps_inner; 187 int gaps_inner;
188 struct side_gaps gaps_outer; 188 struct side_gaps gaps_outer;
189}; 189};