svn commit: r258110 - user/ed/newcons/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Wed Nov 13 23:58:45 UTC 2013
Author: ray
Date: Wed Nov 13 23:58:45 2013
New Revision: 258110
URL: http://svnweb.freebsd.org/changeset/base/258110
Log:
Panic/DDB check should only affect mouse, screen redraw allowed. :)
Modified:
user/ed/newcons/sys/dev/vt/vt_core.c
Modified: user/ed/newcons/sys/dev/vt/vt_core.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt_core.c Wed Nov 13 22:48:35 2013 (r258109)
+++ user/ed/newcons/sys/dev/vt/vt_core.c Wed Nov 13 23:58:45 2013 (r258110)
@@ -677,10 +677,6 @@ vt_flush(struct vt_device *vd)
vd->vd_flags &= ~VDF_INVALID;
}
- /* No mouse for DDB. */
- if (kdb_active || panicstr != NULL)
- return;
-
/* Mark last mouse position as dirty to erase. */
vtbuf_mouse_cursor_position(&vw->vw_buf, vd->vd_mdirtyx, vd->vd_mdirtyy);
@@ -698,6 +694,10 @@ vt_flush(struct vt_device *vd)
}
}
+ /* No mouse for DDB. */
+ if (kdb_active || panicstr != NULL)
+ return;
+
if ((vd->vd_flags & (VDF_MOUSECURSOR|VDF_TEXTMODE)) ==
VDF_MOUSECURSOR) {
m = &vt_default_mouse_pointer;
More information about the svn-src-user
mailing list