aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-11-11 11:22:38 -0500
committerFurkan Sahin <furkan-dev@proton.me>2018-11-11 11:22:38 -0500
commit064e619eac2ef4cb60f61a97412257c819623386 (patch)
tree458a3acb6db39a78d26b4ce38ea637aa21812e29 /include
parent64d5e827a4819147b0c1e91c522f5e3ff216e486 (diff)
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.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 {
*/
struct workspace_config {
char *workspace;
- char *output;
+ list_t *outputs;
int gaps_inner;
struct side_gaps gaps_outer;
};