mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Introduced window positioning hints and window position properties
This commit is contained in:
@@ -772,7 +772,11 @@ static int createWindow(_GLFWwindow* window,
|
||||
if (window->mode == GLFW_FULLSCREEN)
|
||||
wa.left = wa.top = 0;
|
||||
else
|
||||
{
|
||||
SystemParametersInfo(SPI_GETWORKAREA, 0, &wa, 0);
|
||||
wa.left += wndconfig->positionX;
|
||||
wa.top += wndconfig->positionY;
|
||||
}
|
||||
|
||||
wideTitle = _glfwCreateWideStringFromUTF8(wndconfig->title);
|
||||
if (!wideTitle)
|
||||
|
||||
Reference in New Issue
Block a user