sway-patched-tray-menu-github/sway/tree
Ankit Pandey 90c2d631e2 root: Try to preserve relative positions of floating containers
This makes the behavior of floating containers more consistent with i3.
The coordinates of the container are scaled when the size of the
workspace it is on changes or when the container is moved
between workspaces on different outputs.

For scratchpad containers, add a new state that preserves the dimensions
of the last output the window appeared on. This is necessary because
after a container is hidden in the scratchpad, we expect it to be in the
same relative position on the output when it reappears. We can't just
use the container's attached workspace because that workspace's
dimensions might have been changed or the workspace as a whole could
have been destroyed.
2023-03-14 23:26:42 -07:00
..
arrange.c root: Try to preserve relative positions of floating containers 2023-03-14 23:26:42 -07:00
container.c root: Try to preserve relative positions of floating containers 2023-03-14 23:26:42 -07:00
node.c node: prettify node type names 2022-11-26 09:48:58 +01:00
output.c Use wlr_damage_ring 2022-11-11 16:29:04 +01:00
root.c root: Try to preserve relative positions of floating containers 2023-03-14 23:26:42 -07:00
view.c Allow windows in scratchpad to set the urgent flag 2023-02-22 11:41:43 -07:00
workspace.c workspace_create: Don't allow NULL name 2022-11-11 23:44:03 +01:00