Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XGetScreenS(3x) — HP-UX ANSI C A.09.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XGetScreenSaver − get the current screen saver parameters. 

Synopsis

XGetScreenSaver(display, timeout_return, interval_return, prefer_blanking_return, allow_exposures_return)

Display *display;
int *timeout_return, *interval_return;
int *prefer_blanking_return;
int *allow_exposures_return;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

timeout_return
Returns the idle time, in seconds, until the screen saver turns on.

interval_return
Returns the interval between screen saver invocations, in seconds.

prefer_blanking_return
Returns the current screen blanking preference, one of these constants:  DontPreferBlanking, PreferBlanking, or DefaultBlanking. 

allow_exposures_return
Returns the current screen save control value, either DontAllowExposures, AllowExposures, or DefaultExposures. 

Description

XGetScreenSaver() returns the current settings of the screen saver, which may be set with XSetScreenSaver().  A positive timeout_return indicates that the screen saver is enabled.  A timeout_return of zero indicates that the screen saver is disabled.  If the server-dependent screen saver method supports periodic change, interval_return serves as a hint about the length of the change period, and zero serves as a hint that no periodic change will be made.  An interval_return of zero indicates that random pattern motion is disabled.  For more information on the screen saver, see Volume One, Chapter 13, Other Programming Techniques. 

See Also

XActivateScreenSaver(), XForceScreenSaver(), XResetScreenSaver(), XSetScreenSaver(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026