mirror of
https://github.com/NickHu/sway
synced 2024-12-29 22:23:46 +01:00
07042486c3
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.) |
||
---|---|---|
.. | ||
arrange.h | ||
container.h | ||
node.h | ||
root.h | ||
view.h | ||
workspace.h |