swayfx/include/sway/tree
Pedro Côrte-Real 79c5f5ba12 Make all the container dimensions integers
Containers are always fixed to the pixel grid so position and size them
with integers instead of doubles.

Functionally this should be no different since rounding down is already
being done on things like layout. But it makes it clear what the
intention is and avoids bugs where fractional pixels are used. The
translating and moving code is still using doubles because the cursors
can have fractional pixels and thus the code is plumbed that way. But
that could also probably be changed easily by doing the integer
conversions earlier and plumbing with int.
2020-01-01 10:14:40 -07:00
..
arrange.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
container.h Make all the container dimensions integers 2020-01-01 10:14:40 -07:00
node.h Sanity check gaps between tiled containers 2019-07-15 23:46:27 -04:00
root.h Fix sway crashes for scratchpad layouts 2019-06-16 12:29:16 -04:00
view.h view: add max_render_time 2019-11-17 20:18:42 +01:00
workspace.h Add workspace {prev,next}_on_output --create 2019-02-17 11:50:07 -05:00