Bugfix: Re-attach windows in correct order when switching layout (Thanks fernandotcl)

This commit is contained in:
Michael Stapelberg
2010-11-28 01:51:16 +01:00
parent d0de3f403d
commit 3bab222aa7
4 changed files with 25 additions and 15 deletions

View File

@ -59,7 +59,7 @@ Con *workspace_get(const char *num) {
else workspace->num = parsed_num;
LOG("num = %d\n", workspace->num);
workspace->orientation = HORIZ;
con_attach(workspace, output);
con_attach(workspace, output, false);
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"init\"}");
}