Page MenuHomeFreeBSD

D42834.diff
No OneTemporary

D42834.diff

diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -3283,6 +3283,13 @@
/* Update windows sizes and initialize last items. */
vt_upgrade(vd);
+ /*
+ * Give a chance to the new backend to run the post-switch code, for
+ * instance to refresh the screen.
+ */
+ if (vd->vd_driver->vd_postswitch)
+ vd->vd_driver->vd_postswitch(vd);
+
#ifdef DEV_SPLASH
if (vd->vd_flags & VDF_SPLASH)
vtterm_splash(vd);

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 25, 1:29 PM (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24175255
Default Alt Text
D42834.diff (479 B)

Event Timeline