xsecurelock  1.7.0
XSecureLock is an X11 screen lock utility.
Functions
xscreensaver_api.c File Reference
#include "xscreensaver_api.h"
#include <X11/X.h>
#include <stdio.h>
#include <stdlib.h>
#include "env_settings.h"
#include "logging.h"

Functions

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

Function Documentation

◆ 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.