Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 23:58:45 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r258110 - user/ed/newcons/sys/dev/vt
Message-ID:  <201311132358.rADNwjfW051973@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311132358.rADNwjfW051973>