summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:24:48 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:24:48 -0400
commita514fee1b9ac5a3538d8605ff358593cd53e73a8 (patch)
tree7537c98d37f07e1d828442b3e4dbae1fc14c061b
parentclean up container_get_default_layout (diff)
downloadsway-a514fee1b9ac5a3538d8605ff358593cd53e73a8.tar.gz
sway-a514fee1b9ac5a3538d8605ff358593cd53e73a8.tar.zst
sway-a514fee1b9ac5a3538d8605ff358593cd53e73a8.zip
rename workspace_get_initial_output
-rw-r--r--sway/tree/container.c4
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
365static struct sway_container *workspace_get_initial_output(const char *name) { 365static 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) {
392struct sway_container *container_workspace_create(struct sway_container *output, 392struct 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);