From e008596bbbcbd2a63812793a786973166d6d991e Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 21 Sep 2004 18:36:24 +0000 Subject: Do not retrigger the screen blanker if one change its settings through wsconsctl, while running X11. --- sys/dev/wscons/wsdisplay.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c index 4c0738a442f..79ef18629a8 100644 --- a/sys/dev/wscons/wsdisplay.c +++ b/sys/dev/wscons/wsdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay.c,v 1.53 2004/03/09 22:41:57 miod Exp $ */ +/* $OpenBSD: wsdisplay.c,v 1.54 2004/09/21 18:36:23 miod Exp $ */ /* $NetBSD: wsdisplay.c,v 1.37.4.1 2000/06/30 16:27:53 simonb Exp $ */ /* @@ -1176,7 +1176,8 @@ wsdisplay_internal_ioctl(sc, scr, cmd, data, flag, p) if (!sc->sc_burnman) { sc->sc_burnout = sc->sc_burnoutintvl; /* reinit timeout if changed */ - wsdisplay_burn(sc, sc->sc_burnflags); + if ((scr->scr_flags & SCR_GRAPHICS) == 0) + wsdisplay_burn(sc, sc->sc_burnflags); } } return (error); -- cgit v1.2.3