Port a couple of fixes from upstream

72c3908e14
cde0aaaab1
This commit is contained in:
Kovid Goyal 2019-01-11 14:20:26 +05:30
parent 851885568f
commit 24669fb6af
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

4
glfw/x11_window.c vendored
View File

@ -2244,10 +2244,14 @@ void _glfwPlatformSetWindowMonitor(_GLFWwindow* window,
}
else
{
if (!window->resizable)
updateNormalHints(window, width, height);
XMoveResizeWindow(_glfw.x11.display, window->x11.handle,
xpos, ypos, width, height);
}
XFlush(_glfw.x11.display);
return;
}