diff options
-rw-r--r-- | sway/tree/container.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 64b51db6..f616af09 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -362,7 +362,7 @@ struct sway_container *container_output_create( | |||
362 | return output; | 362 | return output; |
363 | } | 363 | } |
364 | 364 | ||
365 | static struct sway_container *workspace_get_initial_output(const char *name) { | 365 | static struct sway_container *get_workspace_initial_output(const char *name) { |
366 | struct sway_container *parent; | 366 | struct sway_container *parent; |
367 | // Search for workspace<->output pair | 367 | // Search for workspace<->output pair |
368 | int i, e = config->workspace_outputs->length; | 368 | int i, e = config->workspace_outputs->length; |
@@ -392,7 +392,7 @@ static struct sway_container *workspace_get_initial_output(const char *name) { | |||
392 | struct sway_container *container_workspace_create(struct sway_container *output, | 392 | struct sway_container *container_workspace_create(struct sway_container *output, |
393 | const char *name) { | 393 | const char *name) { |
394 | if (output == NULL) { | 394 | if (output == NULL) { |
395 | output = workspace_get_initial_output(name); | 395 | output = get_workspace_initial_output(name); |
396 | } | 396 | } |
397 | 397 | ||
398 | wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name); | 398 | wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name); |