xsecurelock  1.7.0
XSecureLock is an X11 screen lock utility.
Functions
wm_properties.h File Reference
#include <X11/Xlib.h>

Go to the source code of this file.

Functions

void SetWMProperties (Display *dpy, Window w, const char *res_class, const char *res_name, int argc, char *const *argv)
 Configures properties on the given window for easier debugging. More...
 

Function Documentation

◆ SetWMProperties()

void SetWMProperties ( Display *  dpy,
Window  w,
const char *  res_class,
const char *  res_name,
int  argc,
char *const *  argv 
)

Configures properties on the given window for easier debugging.

Parameters
dpyThe X11 dpy.
wThe window (which shouldn't be mapped yet).
res_classThe class name the window should receive (becomes WM_CLASS.res_class)
res_nameThe window name the window should receive (becomes WM_CLASS.res_name and WM_NAME)
argcThe number of arguments the main program received.
argvThe arguments the main program received (becomes WM_COMMAND).