WSDISPLAY_NULLSCREEN
WSDISPLAY_NULLSCREEN, 1 /* waitok */) == 0) {
wsscreen_switchwait(wsc, WSDISPLAY_NULLSCREEN);
sc->sc_screen_resumed = WSDISPLAY_NULLSCREEN;
if (sc->sc_screen_resumed != WSDISPLAY_NULLSCREEN)
if (sc->sc_oldscreen == WSDISPLAY_NULLSCREEN) {
sc->sc_oldscreen = WSDISPLAY_NULLSCREEN;
if (sc->sc_oldscreen == WSDISPLAY_NULLSCREEN) {
sc->sc_oldscreen = WSDISPLAY_NULLSCREEN;
if (no == WSDISPLAY_NULLSCREEN) {
if (no != WSDISPLAY_NULLSCREEN) {
(sc->sc_focus == NULL && no == WSDISPLAY_NULLSCREEN)) {
sc->sc_oldscreen = WSDISPLAY_NULLSCREEN;
return (sc->sc_focus ? sc->sc_focusidx : WSDISPLAY_NULLSCREEN);
if (no == WSDISPLAY_NULLSCREEN) {