mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Re-enabled cursor re-centering.
This commit is contained in:
parent
208b7f0bb8
commit
f66e6a6916
@ -1151,8 +1151,9 @@ void _glfwPlatformPollEvents(void)
|
||||
processEvent(&event);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// Did the cursor move in an active window that has captured the cursor
|
||||
// Check whether the cursor has moved inside an active window that has
|
||||
// captured the cursor (because then it needs to be re-centered)
|
||||
|
||||
_GLFWwindow* window;
|
||||
window = _glfwLibrary.activeWindow;
|
||||
if (window)
|
||||
@ -1171,7 +1172,6 @@ void _glfwPlatformPollEvents(void)
|
||||
XFlush( _glfwLibrary.X11.display );
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#include <sys/select.h>
|
||||
|
Loading…
Reference in New Issue
Block a user