summaryrefslogtreecommitdiffstats
path: root/rsboot
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-08-21 04:09:57 +0200
committersalmonik <salmonik@tuta.io>2026-08-21 04:09:57 +0200
commit235906cc36d9195b7b36d67f94f40cacccf030fd (patch)
tree0970d6766c7d99beb3ee15a87503dcee9ed6185e /rsboot
parentwm: 1px focus-colored border + flush full window on focus change (diff)
downloadrs-dos-235906cc36d9195b7b36d67f94f40cacccf030fd.tar.gz
rs-dos-235906cc36d9195b7b36d67f94f40cacccf030fd.zip
wm: fix usize underflow in move_window at screen edges
ox.saturating_sub(pad) / oy.saturating_sub(pad) — plain subtraction on usize wraps to usize::MAX when the window sits at x=0 or y=0, causing composite_rect to draw at the far end of the framebuffer instead of near the window. Also broke drag-to-move when stuck against the top or left edge.
Diffstat (limited to 'rsboot')
0 files changed, 0 insertions, 0 deletions