Fixed hidden window positioning on Metacity.

This commit is contained in:
Camilla Berglund
2013-11-03 13:51:34 +01:00
parent 785e68bb0d
commit 1cbd06c8a2
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -256,6 +256,11 @@ static GLboolean createWindow(_GLFWwindow* window,
hints->flags |= PPosition;
_glfwPlatformGetMonitorPos(wndconfig->monitor, &hints->x, &hints->y);
}
else
{
hints->flags |= PPosition;
hints->x = hints->y = 0;
}
if (!wndconfig->resizable)
{