Add GLFW_CENTER_CURSOR

Adds a hint for controlling whether the cursor is centered over newly
created full screen windows.

Fixes #749.
Closes #842.
This commit is contained in:
Liam Middlebrook
2016-08-18 11:47:54 -04:00
committed by Camilla Löwy
parent 3af0c47c97
commit 72ac5badb0
8 changed files with 22 additions and 3 deletions
+1
View File
@@ -686,6 +686,7 @@ extern "C" {
* [window attribute](@ref GLFW_MAXIMIZED_attrib).
*/
#define GLFW_MAXIMIZED 0x00020008
#define GLFW_CENTER_CURSOR 0x00020009
/*! @brief Framebuffer bit depth hint.
*