summaryrefslogtreecommitdiffstats
path: root/st.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2020-06-23 01:04:40 -0400
committerMatt Hunter <m@lfurio.us>2026-01-17 19:53:38 -0500
commitffd24430eb4b595f29b0e49f9607ac6b1697b44f (patch)
treed2ef36b88f75f301400b35220ca29c7344c8fb26 /st.h
parent9982f3cf8ddf30104b0e73f817ce8c820049af5a (diff)
downloadst-ffd24430eb4b595f29b0e49f9607ac6b1697b44f.tar.gz
st-ffd24430eb4b595f29b0e49f9607ac6b1697b44f.zip
patch: anysize
By default, st's window size always snaps to the nearest multiple of the character size plus a fixed inner border (set with borderpx in config.h). When the size of st does not perfectly match the space allocated to it (when using a tiling WM, for example), unsightly gaps will appear between st and other apps, or between instances of st. This patch allows st to resize to any pixel size, makes the inner border size dynamic, and centers the content of the terminal so that the left/right and top/bottom borders are balanced. With this patch, st on a tiling WM will always fill the entire space allocated to it.
Diffstat (limited to 'st.h')
0 files changed, 0 insertions, 0 deletions