summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin/ssh/unittests/misc/tests.c
diff options
context:
space:
mode:
authorfcambus <fcambus@openbsd.org>2020-05-28 20:26:25 +0000
committerfcambus <fcambus@openbsd.org>2020-05-28 20:26:25 +0000
commit0a71812f803ff8032ec1e8dc104b06b26338a385 (patch)
treee321be5a3c2878bf5cac1a783e7bc9b65164e9b3 /regress/usr.bin/ssh/unittests/misc/tests.c
parentEnable scrollback in simplefb(4). (diff)
downloadwireguard-openbsd-0a71812f803ff8032ec1e8dc104b06b26338a385.tar.xz
wireguard-openbsd-0a71812f803ff8032ec1e8dc104b06b26338a385.zip
When calling rasops_init() in efifb_cnremap() and efifb_attach(), pass
EFIFB_HEIGHT and EFIFB_WIDTH instead of efifb_std_descr.n{rows,cols}. Because the efifb resolution doesn't change, this ensures 'ri_emuwidth' and 'ri_emuheight' will always get the same value when we remap and later when we attach, so the text area is always displayed at the same position. This fixes display glitches happening on smaller screens or with larger fonts, which caused the content previously displayed in the area that was becoming margins when remapping to remain there. OK jsg@
Diffstat (limited to 'regress/usr.bin/ssh/unittests/misc/tests.c')
0 files changed, 0 insertions, 0 deletions