Hi,
On windows, if I have handle to window (HWND), I can check if it exists calling function:
IsWindow(window: HWND): Boolean
Is there a similar function in X11? I'm looking in xlib, xutil units but I don't see anything interesting. I have some TWindow and I want check if it still exists. Now I'm calling some XEvent and checking for BadWindow X11 error code
Regards and sorry for English