|
|
@ -1151,8 +1151,9 @@ void _glfwPlatformPollEvents(void) |
|
|
|
processEvent(&event); |
|
|
|
processEvent(&event); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if 0 |
|
|
|
// Check whether the cursor has moved inside an active window that has
|
|
|
|
// Did the cursor move in an active window that has captured the cursor
|
|
|
|
// captured the cursor (because then it needs to be re-centered)
|
|
|
|
|
|
|
|
|
|
|
|
_GLFWwindow* window; |
|
|
|
_GLFWwindow* window; |
|
|
|
window = _glfwLibrary.activeWindow; |
|
|
|
window = _glfwLibrary.activeWindow; |
|
|
|
if (window) |
|
|
|
if (window) |
|
|
@ -1171,7 +1172,6 @@ void _glfwPlatformPollEvents(void) |
|
|
|
XFlush( _glfwLibrary.X11.display ); |
|
|
|
XFlush( _glfwLibrary.X11.display ); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#include <sys/select.h> |
|
|
|
#include <sys/select.h> |
|
|
|