From 12876932a948d7265745efaccafea509bdbaffe8 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sun, 11 Nov 2018 11:22:38 -0500 Subject: 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 output ` 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. --- include/sway/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sway') 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; }; -- cgit v1.2.3