Created
August 9, 2013 02:23
-
-
Save jacres/6190686 to your computer and use it in GitHub Desktop.
unused variable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Window x11Window = glfwGetX11Window( ofAppGLFWWindow::windowP ); | |
Window root, child; | |
unsigned int mask; | |
int rootX, rootY, childX, childY; | |
if(x11Window) { printf("...\n"); } | |
XQueryPointer( glXGetCurrentDisplay(), x11Window, &root, &child, &rootX, &rootY, &childX, &childY, &mask); | |
XWarpPointer( glXGetCurrentDisplay(), None, x11Window, 0, 0, 0, 0, m_windowWidth/2, m_windowHeight/2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment