nanogui: GR_EVENT_SCREENSAVER never emitted


Previous by date: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Gary James
Next by date: 6 May 2001 01:53:22 -0000 Re: Is there chinese input mechod for microwindow?, jacky
Previous in thread: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Gary James
Next in thread: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Jordan Crouse

Subject: Re: GR_EVENT_SCREENSAVER never emitted
From: "hongouyang" ####@####.####
Date: 6 May 2001 01:53:22 -0000
Message-Id: <001901c0d5cf$46043000$557e9684@sttri.com>

> >     GrSelectEvents(GR_ROOT_WINDOW_ID, GR_EVENT_MASK_SCREENSAVER);
> 
> You're doing this within the server? Don't do that, because the server
> can't catch events (and the event delivery code will probably break when
> it tries to deliver the event to a non existant client). Just do the
> GrSetScreenSaverTimeout() to activate the screensaver, then call your code
> from the GsActivateScreenSaver() and GsResetScreenSaver() calls. They will
> still execute even though no clients have selected to receive the
> screensaver event.
Yes, what you have said is right. Thanks.

Previous by date: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Gary James
Next by date: 6 May 2001 01:53:22 -0000 Re: Is there chinese input mechod for microwindow?, jacky
Previous in thread: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Gary James
Next in thread: 6 May 2001 01:53:22 -0000 Re: GR_EVENT_SCREENSAVER never emitted, Jordan Crouse


Powered by ezmlm-browse 0.20.