aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 17:13:37 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 17:13:37 -0400
commited2cedb54430af0c1400846cf36c9cf539801067 (patch)
tree0a7d9e6eaadc6cf8b0b7d32e06d8d63f63e240c1 /sway
parentmore renaming things (diff)
downloadsway-ed2cedb54430af0c1400846cf36c9cf539801067.tar.gz
sway-ed2cedb54430af0c1400846cf36c9cf539801067.tar.zst
sway-ed2cedb54430af0c1400846cf36c9cf539801067.zip
rename layout init
Diffstat (limited to 'sway')
-rw-r--r--sway/main.c2
-rw-r--r--sway/tree/layout.c2
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) {
382 382
383 wlr_log(L_INFO, "Starting sway version " SWAY_VERSION); 383 wlr_log(L_INFO, "Starting sway version " SWAY_VERSION);
384 384
385 init_layout(); 385 layout_init();
386 386
387 if (!server_init(&server)) { 387 if (!server_init(&server)) {
388 return 1; 388 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
43 container_arrange_windows(&root_container, -1, -1); 43 container_arrange_windows(&root_container, -1, -1);
44} 44}
45 45
46void init_layout(void) { 46void layout_init(void) {
47 root_container.id = 0; // normally assigned in new_swayc() 47 root_container.id = 0; // normally assigned in new_swayc()
48 root_container.type = C_ROOT; 48 root_container.type = C_ROOT;
49 root_container.layout = L_NONE; 49 root_container.layout = L_NONE;