Syntax XSelectInput(display,w,event_mask)Display*display; Windoww; longevent_mask; Arguments displaySpecifies the connection to the X server. wSpecifies the window whose events you are interested in. event_maskSpecifies the event mask. Description ...
XStoreName(pDisplay, iWindow,"xwinclip");/* Select event types to watch */if(XSelectInput(pDisplay, iWindow, PropertyChangeMask) == BadWindow) ErrorF("winClipboardProc -XSelectInputgenerated BadWindow ""on messaging window\n");/* Save the window in the screen privates */g_iClipboardWindow = ...