1
0
Fork 0
mirror of https://github.com/NickHu/sway synced 2025-01-20 22:26:53 +01:00
sway-patched-tray-menu/include/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
..
desktop Simplify transactions 2018-08-15 10:03:55 +10:00
input Don't send motion if the cursor hasn't moved 2018-08-18 09:29:18 +10:00
tree Replace hacky L_FLOATING container with a list 2018-08-19 16:18:33 +10:00
commands.h commands: add nop 2018-08-18 15:50:26 +01:00
config.h Allow a fallback color to be specified for swaybg 2018-08-08 15:37:06 -04:00
criteria.h commands: complete assign command 2018-08-18 17:25:06 +01:00
debug.h Add extended debugging flags 2018-07-14 20:44:32 -04:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Store sway_outputs so that they can be reenabled 2018-06-06 20:11:24 -04:00
ipc-server.h ipc: add binding event 2018-08-01 16:57:15 +01:00
layers.h sway views: add helpers to get view and layer from wlr_surface 2018-06-30 22:31:14 +09:00
output.h Implement iterators per container type 2018-08-18 23:38:54 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xwayland.h more style fixes, included "sway/config.h" where needed 2018-07-25 12:17:10 +02:00