Added glfwGetWindowPos.

This commit is contained in:
Camilla Berglund
2010-09-14 03:53:22 +02:00
parent f0033aa47f
commit 318f731e3e
6 changed files with 34 additions and 0 deletions
+8
View File
@@ -1215,6 +1215,14 @@ static void processSingleEvent(void)
window->height);
}
}
if (event.xconfigure.x != window->positionX ||
event.xconfigure.y != window->positionY)
{
window->positionX = event.xconfigure.x;
window->positionY = event.xconfigure.y;
}
break;
}