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
@ -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…
x
Reference in New Issue
Block a user