Author: dumbbell Date: Thu Aug 21 15:14:54 2014 New Revision: 270278 URL: http://svnweb.freebsd.org/changeset/base/270278
Log: vt(4): Mark cursor position as dirty when we enable/disable it MFC after: 1 week Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_core.c ============================================================================== --- head/sys/dev/vt/vt_core.c Thu Aug 21 15:10:10 2014 (r270277) +++ head/sys/dev/vt/vt_core.c Thu Aug 21 15:14:54 2014 (r270278) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"