From: Luca B. <luc...@gm...> - 2010-01-17 06:35:11
|
How about just having GLX open another connection to the X server and use that to receive ConfigureNotify? Since we are using direct rendering, we must be on the same machine, so it's just a unix/TCP loopback connection and should always work. Xlib stores the display name in _XDisplay.display_name so that works. Furthermore, we can ask the kernel to send SIGIO for input on that fd, and we wouldn't have to make any system calls at all to detect resizes! It seems quite workable and even advantageous. How about it? |