Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XSetScreenSaver(3)		XLIB FUNCTIONS		    XSetScreenSaver(3)

NAME
       XSetScreenSaver,	XForceScreenSaver, XActivateScreenSaver, XResetScreen-
       Saver, XGetScreenSaver -	manipulate the screen saver

SYNTAX
       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 *inter-
	      val_return,  int	 *prefer_blanking_return,   int	  *allow_expo-
	      sures_return);

ARGUMENTS
       allow_exposures
		 Specifies  the	screen save control values.  You can pass Don-
		 tAllowExposures, AllowExposures, or DefaultExposures.

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

       display	 Specifies the connection to the X server.

       interval	 Specifies  the	interval, in seconds, between screen saver al-
		 terations.

       interval_return
		 Returns the interval between screen saver invocations.

       mode	 Specifies the mode that is  to	 be  applied.	You  can  pass
		 ScreenSaverActive or ScreenSaverReset.

       prefer_blanking
		 Specifies  how	to enable screen blanking.  You	can pass Dont-
		 PreferBlanking, PreferBlanking, or DefaultBlanking.

       prefer_blanking_return
		 Returns the current screen blanking  preference  PreferBlank-
		 ing, or DefaultBlanking).

       timeout	 Specifies  the	 timeout,  in  seconds,	until the screen saver
		 turns on.

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

DESCRIPTION
       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	gener-
       ate a BadValue error.  If the timeout value is nonzero, XSetScreenSaver

X Version 11			 libX11	1.6.12		    XSetScreenSaver(3)

NAME | SYNTAX | ARGUMENTS | DESCRIPTION

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XSetScreenSaver&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help