This commit is contained in:
Kovid Goyal 2018-02-11 11:37:05 +05:30
parent 61157e8763
commit 8b099d969f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -346,7 +346,7 @@ create_os_window(PyObject UNUSED *self, PyObject *args) {
glfwMakeContextCurrent(glfw_window);
if (x != -1 && y != -1) glfwSetWindowPos(glfw_window, x, y);
current_os_window_ctx = glfw_window;
glfwSwapInterval(1); // a value of 1 makes mouse selection laggy
glfwSwapInterval(0); // a value of 1 makes mouse selection laggy
if (is_first_window) {
set_dpi_from_os_window(NULL);
gl_init();