jacres
8/9/2013 - 2:23 AM

unused variable

unused variable

    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 );