diff options
author | kato <kato@FreeBSD.org> | 1998-04-18 05:09:07 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-04-18 05:09:07 +0000 |
commit | e3e4facc8dde0167d9974ae3e1cd8892e244906d (patch) | |
tree | d163de9e12b5b9051f9f697a61f0e2f75f7504b3 /sys/pc98 | |
parent | 397aae01997cc322b802f9140683d771540af256 (diff) | |
download | FreeBSD-src-e3e4facc8dde0167d9974ae3e1cd8892e244906d.zip FreeBSD-src-e3e4facc8dde0167d9974ae3e1cd8892e244906d.tar.gz |
Sync with sys/i386/isa/syscons.c revision 1.260.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/pc98/syscons.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c index 91c02f6..cbfe49d 100644 --- a/sys/pc98/pc98/syscons.c +++ b/sys/pc98/pc98/syscons.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: syscons.c,v 1.82 1998/04/06 03:37:55 kato Exp $ + * $Id: syscons.c,v 1.83 1998/04/16 16:35:23 kato Exp $ */ #include "sc.h" @@ -2782,11 +2782,17 @@ switch_scr(scr_stat *scp, u_int next_scr) return EINVAL; } } + /* delay switch if actively updating screen */ if (write_in_progress || blink_in_progress) { delayed_next_scr = next_scr+1; return 0; } + + /* Stop the screensaver */ + if (scrn_blanked > 0) + stop_scrn_saver(current_saver); + switch_in_progress = TRUE; old_scp = cur_console; new_scp = console[next_scr]; |