Ported the temporary cursor jitter fix from 2.7.3.

This commit is contained in:
Camilla Berglund
2012-01-20 02:23:27 +01:00
parent d322fa1ab4
commit 1187c7da62
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1736,6 +1736,11 @@ void _glfwPlatformPollEvents(void)
window->width / 2,
window->height / 2);
window->X11.cursorCentered = GL_TRUE;
// NOTE: This is a temporary fix. It works as long as you use
// offsets accumulated over the course of a frame, instead of
// performing the necessary actions per callback call.
XFlush( _glfwLibrary.X11.display );
}
}
}