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)
Fri, Apr 25, 5:12 AM
Unknown Object (File)
Wed, Apr 23, 3:11 AM
Unknown Object (File)
Tue, Apr 22, 6:14 PM
Unknown Object (File)
Sat, Apr 12, 2:07 PM
Unknown Object (File)
Sun, Apr 6, 5:57 PM
Unknown Object (File)
Mar 12 2025, 6:57 PM
Unknown Object (File)
Feb 22 2025, 2:27 PM
Unknown Object (File)
Feb 22 2025, 1:41 PM
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