__glXInitialize can initialize same display multiple times
Submitted by szu..@..il.com
Assigned to mes..@..op.org
I saw there is two more related bugs, but they are wrong with the summary and with the component.
I found the cause why manywin fail on my intel:
- manywin calls XOpenDisplay for every window created, and gets a different pointer every time.
- __glXInitialize gets called with the different pointers and initialize the same display every time, because it saves the pointers to know which display has been already initialized.
Changing manywin to use XOpenDisplay just once solved the problem, and it works on my intel.