XSetCommand(3X) — X Version 11
NAME
XSetCommand − set command atom
SYNTAX
XSetCommand(display, w, argv, argc)
Display ∗display;
Window w;
char ∗∗argv;
int argc;
ARGUMENTS
argcSpecifies the number of arguments.
argvSpecifies a pointer to the command and arguments used to start the application.
displaySpecifies the connection to the X server.
wSpecifies the window ID.
DESCRIPTION
The XSetCommand function records the command and arguments used to invoke the application. .PN XSetCommand can generate BadAlloc and BadWindow errors.
PROPERTY
WM_COMMAND
DIAGNOSTICS
BadAlloc The server failed to allocate the requested resource or server memory.
BadWindow A value for a Window argument does not name a defined Window.
SEE ALSO
XSetClassHint(3X), XSetIconName(3X), XSetIconSizeHints(3X), XSetNormalHints(3X), XSetSizeHints(3X), XSetStandardProperties(3X), XSetTransientForHint(3X), XSetWMHints(3X), XSetZoomHints(3X), XStoreName(3X)
Xlib − C Language X Interface
1 March 1988