summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wgl/wglgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wgl/wglgears.c b/src/wgl/wglgears.c
index 6b1949f4..738a77b2 100644
--- a/src/wgl/wglgears.c
+++ b/src/wgl/wglgears.c
@@ -402,7 +402,7 @@ make_window(const char *name, int x, int y, int width, int height)
if (!(hWnd = CreateWindowEx(dwExStyle, name, name,
WS_CLIPSIBLINGS | WS_CLIPCHILDREN | dwStyle,
- 0, 0,
+ x, y,
winrect.right - winrect.left,
winrect.bottom - winrect.top,
NULL, NULL, hInst, NULL))) {