1
1
mirror of https://github.com/swaywm/sway synced 2024-09-28 11:20:05 +02:00
sway/include
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
..
sway Make all the container dimensions integers 2020-01-01 10:14:40 -07:00
swaybar
swaynag
background-image.h
cairo.h
ipc-client.h
ipc.h
list.h
log.h
loop.h
meson.build
pango.h
pool-buffer.h
stringop.h
util.h