swayfx/sway/tree
Ryan Dwyer 64445f4214 Prevent sticky containers from jumping on workspace switch
If you have swaybar docked to the top, and you create a floating sticky
container and switch workspaces on the same output, the sticky container
would move down by the height of swaybar on each switch.

This happens because when creating the workspace we set the dimensions
to the same as the output, then the subsequent arrange corrects it.
During this arrange, floating containers are translated so they stay
relative to the workspace. This translation needs to not occur for the
initial arrange.

This patch makes workspaces have a zero width and height when first
created, so we can detect whether this is the initial arrange and avoid
translating the floating containers if so.
2018-09-23 11:36:16 +10:00
..
arrange.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00
container.c swaybar, swaylock, & tree/container: Set cairo font options to render text and lines with subpixel hinting (if available). 2018-09-22 11:34:21 -07:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
root.c Fix double iteration of scratchpad containers 2018-09-18 21:53:02 +10:00
view.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
workspace.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00