Page MenuHomeFreeBSD

vt(4): Always call vt_window_switch() in vtterm_cnungrab()
ClosedPublic

Authored by dumbbell on Nov 24 2023, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 4:22 AM
Unknown Object (File)
Tue, Oct 14, 4:22 AM
Unknown Object (File)
Tue, Oct 14, 4:22 AM
Unknown Object (File)
Mon, Oct 13, 2:59 PM
Unknown Object (File)
Fri, Oct 10, 5:52 PM
Unknown Object (File)
Sun, Oct 5, 11:39 PM
Unknown Object (File)
Sep 1 2025, 7:09 PM
Unknown Object (File)
Sep 1 2025, 11:20 AM
Subscribers

Details

Summary

Why

This ensures that vtterm_cnungrab() is the mirror of vtterm_cngrab(). And the latter always call vt_window_switch() and thus the backend's vd_postswitch().

This makes sure that whatever the backend did during vtterm_cngrab(), it can undo it during vtterm_cnungrab().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable