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)
Wed, Mar 12, 6:57 PM
Unknown Object (File)
Feb 22 2025, 2:27 PM
Unknown Object (File)
Feb 22 2025, 1:41 PM
Unknown Object (File)
Feb 22 2025, 1:31 PM
Unknown Object (File)
Feb 6 2025, 2:16 PM
Unknown Object (File)
Jan 27 2025, 9:19 AM
Unknown Object (File)
Jan 23 2025, 11:18 PM
Unknown Object (File)
Jan 10 2025, 4:00 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