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
F131732899: D42752.id130535.diff
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
Unknown Object (File)
Aug 16 2025, 5:26 PM
Unknown Object (File)
Aug 13 2025, 11:20 PM
Unknown Object (File)
Jul 11 2025, 4:18 AM
Unknown Object (File)
Jul 6 2025, 12:01 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

Lint
Lint Skipped
Unit
Tests Skipped