aboutsummaryrefslogtreecommitdiffstats
path: root/sway.desktop
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-03-10 15:00:15 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-03-11 10:56:20 -0400
commitd57755d05cbbcd2af920113e41b96663447ccc80 (patch)
treeb2ae4bcaeec6e02cbf9b9cf347362e09942fab15 /sway.desktop
parentdamage: remove output_damage_view (diff)
downloadsway-d57755d05cbbcd2af920113e41b96663447ccc80.tar.gz
sway-d57755d05cbbcd2af920113e41b96663447ccc80.tar.zst
sway-d57755d05cbbcd2af920113e41b96663447ccc80.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 'sway.desktop')
0 files changed, 0 insertions, 0 deletions