swayfx/sway/tree
Brian Ashworth 995b6edab6 container_at_stacked: skip titles when zero pixels
It is possible to make the title bars have a zero pixel height while
stacked, by using a blank font and no padding. This causes a division by
zero when attempting to calculate the child index in
container_at_stacked, which then results in a segfault when attempting
to access the child at that bad index (INT_MIN). This just skips the
check to see if the cursor is over a title bar of a child of a stacked
container when the title bar height is zero since there will be no title
bars.
2019-02-09 09:24:43 +01:00
..
arrange.c Implement fullscreen global 2019-01-25 08:29:21 +10:00
container.c container_at_stacked: skip titles when zero pixels 2019-02-09 09:24:43 +01:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c Use noop output when there's no outputs connected 2019-01-22 09:55:13 +01:00
root.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
view.c Introduce container_is_scratchpad_hidden 2019-01-28 10:35:40 +01:00
workspace.c Use noop output when there's no outputs connected 2019-01-22 09:55:13 +01:00