Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133276329
D42834.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
479 B
Referenced Files
None
Subscribers
None
D42834.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42834: vt(4): Call post-switch callback after replacing the backend
Attached
Detach File
Event Timeline
Log In to Comment