Use L_FLOATING instead of reapable boolean

This commit is contained in:
Ryan Dwyer 2018-05-25 09:10:35 +10:00
parent 1f2e399ade
commit 34f35f0bad
5 changed files with 14 additions and 7 deletions

View file

@ -67,7 +67,7 @@ struct sway_container *workspace_create(struct sway_container *output,
swayws->swayc = workspace;
swayws->floating = container_create(C_CONTAINER);
swayws->floating->parent = swayws->swayc;
swayws->floating->reapable = false;
swayws->floating->layout = L_FLOATING;
workspace->sway_workspace = swayws;
container_add_child(output, workspace);