NAME
XmuDQAddDisplay — add a display connection to a display queue.
SYNOPSIS
#include <X11/Xmu/DisplayQue.h>
XmuDisplayQueueEntry ∗XmuDQAddDisplay(q, display, data)
XmuDisplayQueue ∗q;
Display ∗display;
caddr_t data;
ARGUMENTS
qSpecifies the queue.
displaySpecifies the display connection to add.
dataSpecifies private data for the free callback function.
DESCRIPTION
XmuDQAddDisplay adds the specified display to the queue. If successful, the queue entry is returned, otherwise NULL is returned. The data value is simply stored in the queue entry for use by the queue’s free callback. This function does not attempt to prevent duplicate entries in the queue; the caller should use XmuDQLookupDisplay to determine if a display has already been added to a queue.
SEE ALSO
XmuDQCreate, XmuDQDestroy, XmuDQLookupDisplay, XmuDQNDisplays, XmuDQRemoveDisplay.
Xlib Reference Manual