Port a couple of fixes from upstream
https://github.com/glfw/glfw/commit/72c3908e1474d0cd72bed9fecb6ff3da022f7200 https://github.com/glfw/glfw/commit/cde0aaaab1e3610b6c8f27cd9a5f57f011a31b7d
This commit is contained in:
Vendored
+4
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user