|
|
@ -691,7 +691,7 @@ static int createWindow(_GLFWwindow* window, |
|
|
|
const _GLFWwndconfig* wndconfig, |
|
|
|
const _GLFWwndconfig* wndconfig, |
|
|
|
const _GLFWfbconfig* fbconfig) |
|
|
|
const _GLFWfbconfig* fbconfig) |
|
|
|
{ |
|
|
|
{ |
|
|
|
int positionX, positionY, fullWidth, fullHeight; |
|
|
|
int xpos, ypos, fullWidth, fullHeight; |
|
|
|
POINT cursorPos; |
|
|
|
POINT cursorPos; |
|
|
|
WCHAR* wideTitle; |
|
|
|
WCHAR* wideTitle; |
|
|
|
|
|
|
|
|
|
|
@ -702,8 +702,7 @@ static int createWindow(_GLFWwindow* window, |
|
|
|
{ |
|
|
|
{ |
|
|
|
window->win32.dwStyle |= WS_POPUP; |
|
|
|
window->win32.dwStyle |= WS_POPUP; |
|
|
|
|
|
|
|
|
|
|
|
positionX = wndconfig->monitor->positionX; |
|
|
|
_glfwPlatformGetMonitorPos(wndconfig->monitor, &xpos, &ypos); |
|
|
|
positionY = wndconfig->monitor->positionY; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fullWidth = wndconfig->width; |
|
|
|
fullWidth = wndconfig->width; |
|
|
|
fullHeight = wndconfig->height; |
|
|
|
fullHeight = wndconfig->height; |
|
|
@ -719,8 +718,8 @@ static int createWindow(_GLFWwindow* window, |
|
|
|
window->win32.dwExStyle |= WS_EX_WINDOWEDGE; |
|
|
|
window->win32.dwExStyle |= WS_EX_WINDOWEDGE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
positionX = CW_USEDEFAULT; |
|
|
|
xpos = CW_USEDEFAULT; |
|
|
|
positionY = CW_USEDEFAULT; |
|
|
|
ypos = CW_USEDEFAULT; |
|
|
|
|
|
|
|
|
|
|
|
getFullWindowSize(window, |
|
|
|
getFullWindowSize(window, |
|
|
|
wndconfig->width, wndconfig->height, |
|
|
|
wndconfig->width, wndconfig->height, |
|
|
@ -739,7 +738,7 @@ static int createWindow(_GLFWwindow* window, |
|
|
|
_GLFW_WNDCLASSNAME, |
|
|
|
_GLFW_WNDCLASSNAME, |
|
|
|
wideTitle, |
|
|
|
wideTitle, |
|
|
|
window->win32.dwStyle, |
|
|
|
window->win32.dwStyle, |
|
|
|
positionX, positionY, |
|
|
|
xpos, ypos, |
|
|
|
fullWidth, fullHeight, |
|
|
|
fullWidth, fullHeight, |
|
|
|
NULL, // No parent window
|
|
|
|
NULL, // No parent window
|
|
|
|
NULL, // No window menu
|
|
|
|
NULL, // No window menu
|
|
|
|