diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-11-11 11:22:38 -0500 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-11-11 11:22:38 -0500 |
commit | 12876932a948d7265745efaccafea509bdbaffe8 (patch) | |
tree | 458a3acb6db39a78d26b4ce38ea637aa21812e29 /include | |
parent | Merge pull request #3098 from c-edw/feature/RefactorArgParse (diff) | |
download | sway-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')
-rw-r--r-- | include/sway/config.h | 2 |
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 | */ |
184 | struct workspace_config { | 184 | struct 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 | }; |