diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 17:13:37 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-29 17:13:37 -0400 |
commit | ed2cedb54430af0c1400846cf36c9cf539801067 (patch) | |
tree | 0a7d9e6eaadc6cf8b0b7d32e06d8d63f63e240c1 | |
parent | eca029f218fbb54ddf7316845be5d296e834358e (diff) | |
download | sway-ed2cedb54430af0c1400846cf36c9cf539801067.tar.xz |
rename layout init
-rw-r--r-- | sway/main.c | 2 | ||||
-rw-r--r-- | sway/tree/layout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/main.c b/sway/main.c index 31bf617b..ded922ee 100644 --- a/sway/main.c +++ b/sway/main.c @@ -382,7 +382,7 @@ int main(int argc, char **argv) { wlr_log(L_INFO, "Starting sway version " SWAY_VERSION); - init_layout(); + layout_init(); if (!server_init(&server)) { return 1; diff --git a/sway/tree/layout.c b/sway/tree/layout.c index 07534620..5152e523 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -43,7 +43,7 @@ static void output_layout_change_notify(struct wl_listener *listener, void *data container_arrange_windows(&root_container, -1, -1); } -void init_layout(void) { +void layout_init(void) { root_container.id = 0; // normally assigned in new_swayc() root_container.type = C_ROOT; root_container.layout = L_NONE; |