xsecurelock 1.8.0
XSecureLock is an X11 screen lock utility.
Loading...
Searching...
No Matches
xscreensaver_api.h File Reference
#include <X11/X.h>

Go to the source code of this file.

Functions

void ExportWindowID (Window w)
 Export the given window ID to the environment for a saver/auth child.
void ExportSaverIndex (int index)
 Export the given saver index to the environment for a saver/auth child.
Window ReadWindowID (void)
 Reads the window ID to draw on from the environment.

Function Documentation

◆ ExportSaverIndex()

void ExportSaverIndex ( int index)

Export the given saver index to the environment for a saver/auth child.

This simply sets $XSCREENSAVER_SAVER_INDEX.

Parameters
indexThe index of the saver.

◆ ExportWindowID()

void ExportWindowID ( Window w)

Export the given window ID to the environment for a saver/auth child.

This simply sets $XSCREENSAVER_WINDOW.

Parameters
wThe window the child should draw on.

◆ ReadWindowID()

Window ReadWindowID ( void )

Reads the window ID to draw on from the environment.

This simply reads $XSCREENSAVER_WINDOW.