xsecurelock  1.7.0
XSecureLock is an X11 screen lock utility.
Macros | Functions
wm_properties.c File Reference
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stddef.h>

Macros

#define WM_PROPERTIES_H
 

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

Macro Definition Documentation

◆ WM_PROPERTIES_H

#define WM_PROPERTIES_H

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