I understand that if there are two or more threads sharing a single X display connection, XInitThreads
must be called before any other Xlib call.
But what if every thread has its own connection to the display and operates only on that connection? Is XInitThreads
still necessary? And does it make difference if I use the GLX extension?