sway-patched-tray-menu/sway/tree
Tudor Brindus 07042486c3 tree/container: introduce container_is_sticky[_or_child] functions
To query whether a container is sticky, checking `con->is_sticky` is
insufficient. `container_is_floating_or_child` must also return true;
this led to a lot of repetition.

This commit introduces `container_is_sticky[_or_child]` functions, and
switches all stickiness checks to use them. (Including ones where the
container is already known to be floating, for consistency.)
2020-11-11 20:43:58 -05:00
..
arrange.c Make sure we don't calculate fractional pixel gaps 2020-01-01 10:14:29 -07:00
container.c tree/container: introduce container_is_sticky[_or_child] functions 2020-11-11 20:43:58 -05:00
node.c Fix scratchpad fullscreen behavior and crash 2019-04-13 08:48:37 -06:00
output.c output: Revert implementation of evacuate_sticky() 2020-10-28 09:45:12 -04:00
root.c Fix crash when showing scratchpad hidden split containers 2020-01-16 21:48:25 -05:00
view.c tree/container: introduce container_is_sticky[_or_child] functions 2020-11-11 20:43:58 -05:00
workspace.c tree/container: introduce container_is_sticky[_or_child] functions 2020-11-11 20:43:58 -05:00