Skip site navigation (1)Skip section navigation (2)
Date:      17 Apr 1998 12:07:11 +0200
From:      dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
To:        joelh@gnu.org
Cc:        current@FreeBSD.ORG
Subject:   Re: syscons.c and graphical screensavers
Message-ID:  <xzpvhs8oj74.fsf@gladsheim.ifi.uio.no>
In-Reply-To: Joel Ray Holveck's message of "Wed, 15 Apr 1998 22:53:09 -0500 (CDT)"
References:  <xzpra2yhyqt.fsf@hrotti.ifi.uio.no> <199804160353.WAA01213@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
Joel Ray Holveck <joelh@gnu.org> writes:
> [following up to -current]
> > I changed current's src/sys/i386/isa/syscons.c to put the "should we
> > stop the screensaver" check before the "should we just return" check.
> The screensaver needs to properly handle shutdown before the switch,
> but that's not hard.  If you're writing a graphical screensaver, talk
> to me and I'll get you my template.

OK, I added a call to stop_scrn_saver() right before the switching
code in switch_scr(). Perhaps it's *too* conservative, but I figured
it can't hurt.

As to your template, I remember you mentioning it way back; I'd love
to see it. I have written two graphical screensavers (the logo saver
you've already seen, and a starfield with eight levels of parallax
scrolling) which would certainly benefit from your code :)

-- 
fprintf(stderr, "I have a closed mind. It helps keeping the rain out.\n");

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpvhs8oj74.fsf>