aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/terminal.ui
diff options
context:
space:
mode:
authorWolfgang Müller2025-02-24 19:38:46 +0100
committerWolfgang Müller2025-02-24 19:38:46 +0100
commit9dc38e4de224c1da4502f46fab9ae568861c927f (patch)
tree86d79a43c8cd5d0832b7d1cc013e3cfd1d0b5fe8 /terminal.ui
parent3aca5ff0a88984a9ad0b2872267f64be9bcc159f (diff)
downloadweltschmerz-9dc38e4de224c1da4502f46fab9ae568861c927f.tar.gz
Allow user to influence geometry hints resize behaviour
For the longest time weltschmerz has defaulted to passing width_inc and height_inc to set_geometry_hints, making it such that the window can only be resized in increments of the cell size. Whilst this is advantageous with floating windows, once weltschmerz is forced into a specific geometry (e.g. when put into a tiling context), the window manager or compositor will have to accept weltschmerz's geometry hints and make the window smaller than the space allotted for it. Since some people care about pixel-perfect alignment for their tiled windows, make this behaviour controllable by introducing a new 'resize-hints' setting. To remain backwards-compatible, this setting is true by default, but when switched off, weltschmerz will stop setting the width_inc and height_inc geometry hints, making it freely resizable by adding dynamic padding around the terminal's viewport. Co-authored-by: Juhani Krekelä <juhani@krekelä.fi>
Diffstat (limited to 'terminal.ui')
0 files changed, 0 insertions, 0 deletions