aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-03 13:24:48 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-03 13:24:48 -0400
commita514fee1b9ac5a3538d8605ff358593cd53e73a8 (patch)
tree7537c98d37f07e1d828442b3e4dbae1fc14c061b /sway/tree
parent9b567fc37e83ed9f0cbb028fd801a2f2609c79dc (diff)
rename workspace_get_initial_output
Diffstat (limited to 'sway/tree')
-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(
return output;
}
-static struct sway_container *workspace_get_initial_output(const char *name) {
+static struct sway_container *get_workspace_initial_output(const char *name) {
struct sway_container *parent;
// Search for workspace<->output pair
int i, e = config->workspace_outputs->length;
@@ -392,7 +392,7 @@ static struct sway_container *workspace_get_initial_output(const char *name) {
struct sway_container *container_workspace_create(struct sway_container *output,
const char *name) {
if (output == NULL) {
- output = workspace_get_initial_output(name);
+ output = get_workspace_initial_output(name);
}
wlr_log(L_DEBUG, "Added workspace %s for output %s", name, output->name);