From b004d0514e73cdef09def697f365b7532cfaf639 Mon Sep 17 00:00:00 2001 From: Krylov Yaroslav Date: Mon, 24 Jun 2019 11:55:52 +0300 Subject: [PATCH] fix using interface glfwSetWindowPos call instead internal glfwPlatformSetWindowPos --- src/x11_window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/x11_window.c b/src/x11_window.c index 7d4f84235..d02cd614a 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -797,7 +797,9 @@ static GLFWbool createNativeWindow(_GLFWwindow* window, xpos = 0; if (ypos == GLFW_DONT_CARE) ypos = 0; - glfwSetWindowPos(window, xpos, ypos); + + if (!window->monitor) + _glfwPlatformSetWindowPos(window, xpos, ypos); } return GLFW_TRUE;