HomeFreeBSD

vt(4): Always call vt_window_switch() in vtterm_cnungrab()

Description

vt(4): Always call vt_window_switch() in vtterm_cnungrab()

[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().

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D42752

Details

Provenance
dumbbellAuthored on Nov 24 2023, 5:30 PM
Reviewer
manu
Differential Revision
D42752: vt(4): Always call vt_window_switch() in vtterm_cnungrab()
Parents
rG16b13bd3fd63: vt(4): Call vd_postswitch callback regardless of the current window
Branches
Unknown
Tags
Unknown