swayfx/sway
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
..
commands Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
config Allow a fallback color to be specified for swaybg 2018-08-08 15:37:06 -04:00
desktop Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
input Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
tree Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c commands: add nop 2018-08-18 15:50:26 +01:00
config.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
criteria.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
debug-tree.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
decoration.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
ipc-json.c Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
ipc-server.c Implement iterators per container type 2018-08-18 23:38:54 +10:00
main.c Remove obsolete security sanity check 2018-08-09 08:45:32 -04:00
meson.build commands: add nop 2018-08-18 15:50:26 +01:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: complete assign command 2018-08-18 17:25:06 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00