mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2025-01-04 23:02:47 +01:00
rename layout init
This commit is contained in:
parent
eca029f218
commit
ed2cedb544
2 changed files with 2 additions and 2 deletions
|
@ -382,7 +382,7 @@ int main(int argc, char **argv) {
|
||||||
|
|
||||||
wlr_log(L_INFO, "Starting sway version " SWAY_VERSION);
|
wlr_log(L_INFO, "Starting sway version " SWAY_VERSION);
|
||||||
|
|
||||||
init_layout();
|
layout_init();
|
||||||
|
|
||||||
if (!server_init(&server)) {
|
if (!server_init(&server)) {
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -43,7 +43,7 @@ static void output_layout_change_notify(struct wl_listener *listener, void *data
|
||||||
container_arrange_windows(&root_container, -1, -1);
|
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.id = 0; // normally assigned in new_swayc()
|
||||||
root_container.type = C_ROOT;
|
root_container.type = C_ROOT;
|
||||||
root_container.layout = L_NONE;
|
root_container.layout = L_NONE;
|
||||||
|
|
Loading…
Reference in a new issue