[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xlib and file descriptors



Pierre Phaneuf wrote:
> Speaking of file descriptors, does anybody know of a way to get the fd
> of the connection to the X server or at least a "pseudo-select" (like
> Svgalib has)?

If you're willing to use Xt then you may use XtAppAddInput().

I don't know of a solution which is nearly as clean for raw
Xlib.

--Adam
-- 
Adam D. Moss    . ,,^^    adam@gimp.org    http://www.foxbox.org/