vt(4): Mark cursor position as dirty when we enable/disable it
MFC after: 1 week
This commit is contained in:
parent
7935fd6ef1
commit
353ad09fad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270278
@ -1559,6 +1559,15 @@ vt_mouse_state(int show)
|
||||
vw->vw_flags &= ~VWF_MOUSE_HIDE;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Mark mouse position as dirty.
|
||||
*
|
||||
* FIXME: See comments in vt_flush().
|
||||
*/
|
||||
vtbuf_mouse_cursor_position(&vw->vw_buf,
|
||||
vd->vd_mx / vw->vw_font->vf_width,
|
||||
vd->vd_my / vw->vw_font->vf_height);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user