]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vt_vga: Clip the draw area to never draw offscreen
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Fri, 22 Aug 2014 10:49:51 +0000 (10:49 +0000)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Fri, 22 Aug 2014 10:49:51 +0000 (10:49 +0000)
commit37fcd2911e9505773a313a3d65b832f676bf3b48
tree3a297426fe715dca01add08ae10258517a732433
parentbdcaf97c3ed3338a055da618e1c40b2b2c32a530
vt_vga: Clip the draw area to never draw offscreen

This fixes a bug when two windows use different fonts, but a longer-term
solution is required. The dirty area should be stored as pixels, not
character cells, because such coordinates don't have the same meaning in
all windows, when using different fonts.

MFC after: 1 week
sys/dev/vt/hw/vga/vt_vga.c