Full screen OpenGL on X11
hey, I've got a question about some OpenGL development with Mono's Windows.Forms implementation...
I'm trying to develop a GLContext class which will manage OpenGL contexts in a cross-platform manner.
The only problem I'm having is with changing resolultions for a full screen apps on X11. I can set the resolution correctly, but
the X server responds to mouse movement at the edges of the screen to scroll the viewport over the desktop, which is highly undesirable for a full screen OpenGL app.
So my initial solution was to call XGrabPointer on switching screen resolutions, but it turns out that Mono calls XUngrabPointer in X11Dnd.cs after a mouse up event.
Is there any way to disable/override this behavior?
Or does anyone know of another way to "freeze" the viewport in X11?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement