swayfx/sway/tree
Ryan Dwyer 2b5a404ac9 Replace hacky L_FLOATING container with a list
Workspaces previously had a magical `workspace->floating` container,
which had a layout of L_FLOATING and whose children were actual floating
views. This allowed some conveniences, but was a hacky solution because
the container has to be exempt from focus, coordinate transactions with
the workspace, and omit emitting IPC events (which we didn't do).

This commit changes it to be a list directly in the sway_workspace. The
L_FLOATING layout is no longer used so this has been removed as well.

* Fixes incorrect check in the swap command (it checked if the
containers had the L_FLOATING layout, but this layout applied to the
magical container).
* Introduces workspace_add_floating
2018-08-19 16:18:33 +10:00
..
arrange.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
container.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
layout.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
output.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
root.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
view.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
workspace.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00