diff options
author | 2019-03-10 15:00:15 -0400 | |
---|---|---|
committer | 2019-03-10 13:07:32 -0600 | |
commit | 9a75f0010f9bc448dfedb5de6e484719613d6428 (patch) | |
tree | 8cf5d48dac797e2d418418b1bb0f3e053f87e5fd /swaynag | |
parent | damage: remove output_damage_view (diff) | |
download | sway-9a75f0010f9bc448dfedb5de6e484719613d6428.tar.gz sway-9a75f0010f9bc448dfedb5de6e484719613d6428.tar.zst sway-9a75f0010f9bc448dfedb5de6e484719613d6428.zip |
arrange: use int not size_t for title offsets
This changes `apply_tabbed_layout` and `apply_stacked_layout` to use
`int` instead of `size_t`. This is necessary for tabbed and stacked
containers to be positioned correctly when the y-location is negative.
The reasoning for this is signed plus unsigned is always an unsigned
value. This was causing the y-location of the container to be
positioned near `INT_MIN` due to an unsigned integer underflow
Diffstat (limited to 'swaynag')
0 files changed, 0 insertions, 0 deletions