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, Nov 5, 3:27 PM
Unknown Object (File)
Thu, Oct 17, 3:04 AM
Unknown Object (File)
Oct 15 2024, 11:43 AM
Unknown Object (File)
Oct 15 2024, 11:43 AM
Unknown Object (File)
Oct 14 2024, 1:48 PM
Unknown Object (File)
Oct 13 2024, 1:19 AM
Unknown Object (File)
Oct 11 2024, 8:29 PM
Unknown Object (File)
Oct 10 2024, 1:17 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