1XSetScreenSaver(3)              XLIB FUNCTIONS              XSetScreenSaver(3)
2
3
4

NAME

6       XSetScreenSaver, XForceScreenSaver, XActivateScreenSaver, XResetScreen‐
7       Saver, XGetScreenSaver - manipulate the screen saver
8

SYNTAX

10       int XSetScreenSaver(Display *display, int timeout,  int  interval,  int
11              prefer_blanking, int allow_exposures);
12
13       int XForceScreenSaver(Display *display, int mode);
14
15       int XActivateScreenSaver(Display *display);
16
17       int XResetScreenSaver(Display *display);
18
19       int  XGetScreenSaver(Display *display, int *timeout_return, int *inter‐
20              val_return,  int   *prefer_blanking_return,   int   *allow_expo‐
21              sures_return);
22

ARGUMENTS

24       allow_exposures
25                 Specifies  the screen save control values.  You can pass Don‐
26                 tAllowExposures, AllowExposures, or DefaultExposures.
27
28       allow_exposures_return
29                 Returns the current screen save control value AllowExposures,
30                 or DefaultExposures).
31
32       display   Specifies the connection to the X server.
33
34       interval  Specifies  the  interval,  in  seconds,  between screen saver
35                 alterations.
36
37       interval_return
38                 Returns the interval between screen saver invocations.
39
40       mode      Specifies the mode that is  to  be  applied.   You  can  pass
41                 ScreenSaverActive or ScreenSaverReset.
42
43       prefer_blanking
44                 Specifies  how to enable screen blanking.  You can pass Dont‐
45                 PreferBlanking, PreferBlanking, or DefaultBlanking.
46
47       prefer_blanking_return
48                 Returns the current screen blanking  preference  PreferBlank‐
49                 ing, or DefaultBlanking).
50
51       timeout   Specifies  the  timeout,  in  seconds, until the screen saver
52                 turns on.
53
54       timeout_return
55                 Returns the timeout, in seconds, until the screen saver turns
56                 on.
57

DESCRIPTION

59       Timeout and interval are specified in seconds.  A timeout of 0 disables
60       the screen saver (but an activated screen saver  is  not  deactivated),
61       and a timeout of -1 restores the default.  Other negative values gener‐
62       ate a BadValue error.  If the timeout value is nonzero, XSetScreenSaver
63
64
65
66X Version 11                     libX11 1.6.9               XSetScreenSaver(3)
Impressum