diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2020-04-08 18:52:02 +0200 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2020-04-16 11:08:34 +0200 |
commit | 781306374bee621238a0f570c5685d40793c1480 (patch) | |
tree | a5be89218e0eb94dfb84e76cc8328a55ce56f7aa | |
parent | b09bf9e36edbeabfb3eaf8c9e26de4e08aaa32f4 (diff) |
wglgears: respect x and y arguments to make_window
Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r-- | src/wgl/wglgears.c | 2 |
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))) { |