diff options
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index c095dce0..242e6fac 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -56,8 +56,8 @@ static void restore_workspaces(struct sway_output *output) { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | // Saved workspaces | 58 | // Saved workspaces |
59 | while (root->noop_output->workspaces->length) { | 59 | while (root->fallback_output->workspaces->length) { |
60 | struct sway_workspace *ws = root->noop_output->workspaces->items[0]; | 60 | struct sway_workspace *ws = root->fallback_output->workspaces->items[0]; |
61 | workspace_detach(ws); | 61 | workspace_detach(ws); |
62 | output_add_workspace(output, ws); | 62 | output_add_workspace(output, ws); |
63 | 63 | ||
@@ -192,7 +192,7 @@ static void output_evacuate(struct sway_output *output) { | |||
192 | new_output = fallback_output; | 192 | new_output = fallback_output; |
193 | } | 193 | } |
194 | if (!new_output) { | 194 | if (!new_output) { |
195 | new_output = root->noop_output; | 195 | new_output = root->fallback_output; |
196 | } | 196 | } |
197 | 197 | ||
198 | struct sway_workspace *new_output_ws = | 198 | struct sway_workspace *new_output_ws = |