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
F154400348: D42752.id.diff
Tue, Apr 28, 8:48 AM
Unknown Object (File)
Tue, Apr 21, 11:01 AM
Unknown Object (File)
Tue, Apr 21, 8:30 AM
Unknown Object (File)
Sun, Apr 19, 10:06 AM
Unknown Object (File)
Tue, Apr 14, 6:17 PM
Unknown Object (File)
Sat, Apr 11, 11:19 AM
Unknown Object (File)
Sat, Apr 11, 3:17 AM
Unknown Object (File)
Tue, Apr 7, 7:29 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