swayfx/include/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.h Simplify transactions by utilising a dirty flag on containers 2018-07-14 23:14:55 +10:00
container.h Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
layout.h Rename container_sort_workspaces and container_wrap_children 2018-08-18 22:02:03 +10:00
output.h move output create to its own file 2018-04-03 20:00:09 -04:00
root.h Implement iterators per container type 2018-08-18 23:38:54 +10:00
view.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
workspace.h Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00