mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
When we are not switching VTs, just mark all buffer to be updated.
This commit is contained in:
parent
5eb0164407
commit
6b0dfd288f
1 changed files with 7 additions and 1 deletions
|
|
@ -141,10 +141,16 @@ scresume(device_t dev)
|
|||
|
||||
sc = &main_softc;
|
||||
|
||||
if (sc->cur_scp == NULL)
|
||||
return (0);
|
||||
|
||||
sc->suspend_in_progress--;
|
||||
if (sc->suspend_in_progress == 0)
|
||||
if (sc->suspend_in_progress == 0) {
|
||||
if (!sc_no_suspend_vtswitch && sc_cur_scr != 0)
|
||||
sc_switch_scr(sc, sc_cur_scr);
|
||||
else
|
||||
mark_all(sc->cur_scp);
|
||||
}
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue