Is x server connection still valid?

Ori Bernstein rand_chars at rogers.com
Tue Jan 9 14:47:06 PST 2007


On Tue, 9 Jan 2007 16:26:56 -0600, "hugo vanwoerkom" <huugske at gmail.com> said:

> Daniel, I don't want to terminate the process. This is for a started
> task that writes to all keyboard LEDs. You mean there is no way to
> find out if the display structure that I use in
> XChangeKeyboardControl is still safe to use?
> 
> Hugo

Not with Xlib, as far as I know.

You may want to look at XCB, which does make it possible. (especially see
xcb_connection_has_error())

-- 
While money doesn't buy love, it puts you in a great bargaining position.



More information about the xorg mailing list