mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-11-06 13:13:16 +00:00
fix integer underflow in tile()
When clients don't fit, my or ty can exceed m->w.height, and since they were unsigned, m->w.height - my wrapped around to huge heights, hanging dwl. With signed ints the height can become negative instead, which applybounds() raises to the minimum size. Fixes: https://codeberg.org/dwl/dwl/issues/1254
This commit is contained in:
Reference in New Issue
Block a user