22 Dec 2011 by YvesDaoust
I am writing a graphics library under XWindows, using the Xlib API.I am looking for a clean way to get the XID of the main Window of the running application. I'd need a solution that doesn't know about the Windows Manager in use (Qt, GTK, Motif...), and only does Xlib calls.One...