Implement floating enable

This commit is contained in:
Drew DeVault 2018-05-04 08:24:25 -04:00 committed by Ryan Dwyer
parent c47d6cb1c4
commit f3ab895916
8 changed files with 99 additions and 5 deletions

View file

@ -12,6 +12,7 @@
#include "sway/tree/arrange.h"
#include "sway/tree/container.h"
#include "sway/tree/workspace.h"
#include "list.h"
#include "log.h"
#include "util.h"
@ -64,6 +65,7 @@ struct sway_container *workspace_create(struct sway_container *output,
return NULL;
}
swayws->swayc = workspace;
swayws->floating = create_list();
workspace->sway_workspace = swayws;
container_add_child(output, workspace);