Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 14:35:21 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269192 - head/sys/dev/vt
Message-ID:  <201407281435.s6SEZLL9093244@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Jul 28 14:35:21 2014
New Revision: 269192
URL: http://svnweb.freebsd.org/changeset/base/269192

Log:
  Remove special handling of console window size. It's done in vt_upgrade() for
  all windows.
  
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/vt/vt_core.c

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Mon Jul 28 14:32:20 2014	(r269191)
+++ head/sys/dev/vt/vt_core.c	Mon Jul 28 14:35:21 2014	(r269192)
@@ -2064,7 +2064,6 @@ void
 vt_allocate(struct vt_driver *drv, void *softc)
 {
 	struct vt_device *vd;
-	struct winsize wsz;
 
 	if (!vty_enabled(VTY_VT))
 		return;
@@ -2125,11 +2124,6 @@ vt_allocate(struct vt_driver *drv, void 
 	}
 
 	termcn_cnregister(vd->vd_windows[VT_CONSWINDOW]->vw_terminal);
-
-	/* Update console window sizes to actual. */
-	vt_winsize(vd, vd->vd_windows[VT_CONSWINDOW]->vw_font, &wsz);
-	terminal_set_winsize_blank(vd->vd_windows[VT_CONSWINDOW]->vw_terminal,
-	    &wsz, 0, NULL);
 }
 
 void



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