diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-08-23 07:41:08 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-08-23 07:41:08 +0000 |
commit | 261ed191628cc4d2f43b8194e2debdcf16e89a21 (patch) | |
tree | 8ab7dbb08a157445f33f6b679b8553f260f7274f /etc | |
parent | c03089040791f74d09b3be90ab1fe6065f3c2a7f (diff) | |
download | FreeBSD-src-261ed191628cc4d2f43b8194e2debdcf16e89a21.zip FreeBSD-src-261ed191628cc4d2f43b8194e2debdcf16e89a21.tar.gz |
vt(4): Fix a crash in vt_mark_mouse_position_as_dirty() when in textmode
In textmode, no font is loaded, thus the page fault in
vt_mark_mouse_position_as_dirty() when it wants the font width/height.
For now, create a fake area for the textmode. This needs to be modified
if vt_vga gains mouse support in textmode.
While here, fix a build failure when SC_NO_CUTPASTE is defined:
vt_mark_mouse_position_as_dirty() must not be included in this case.
MFC after: 1 week
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions