XSetScreenSaver(3) | XLIB FUNCTIONS | XSetScreenSaver(3) |
XSetScreenSaver, XForceScreenSaver, XActivateScreenSaver, XResetScreenSaver, XGetScreenSaver - manipulate the screen saver
int XSetScreenSaver(Display *display, int timeout, int interval, int prefer_blanking, int allow_exposures);
int XForceScreenSaver(Display *display, int mode);
int XActivateScreenSaver(Display *display);
int XResetScreenSaver(Display *display);
int XGetScreenSaver(Display *display, int *timeout_return, int *interval_return, int *prefer_blanking_return, int *allow_exposures_return);
Timeout and interval are specified in seconds. A timeout of 0 disables the screen saver (but an activated screen saver is not deactivated), and a timeout of -1 restores the default. Other negative values generate a BadValue error. If the timeout value is nonzero, XSetScreenSaver
libX11 1.8.4 | X Version 11 |