XtAppGetSelectionTimeout(), XtAppSetSelectionTimeout() - set and obtain selection time-out values
unsigned long XtAppGetSelectionTimeout (XtAppContext app_context)
void XtAppSetSelectionTimeout (XtAppContext app_context,
unsigned long timeout)
The XtAppGetSelectionTimeout(3) function returns the current selection time-out value, in milliseconds. The selection time-out is the time within which the two communicating applications must respond to one another. The initial time-out value is set by the selectionTimeout application resource, or, if selectionTimeout is not specified, it defaults to five seconds.
The XtAppSetSelectionTimeout(3) function sets the Intrinsics's selection time-out mechanism. Note that most applications should not set the selection time-out.
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface