swayfx/sway/desktop
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
..
desktop.c Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
idle_inhibit_v1.c Fix memory leak in sway/desktop/idle_inhibit_v1.c 2018-07-17 11:35:24 -04:00
layer_shell.c Address first round review for swaynag 2018-08-01 22:47:54 -04:00
output.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
render.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
transaction.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
xdg_shell.c Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
xdg_shell_v6.c Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
xwayland.c Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00