summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glut/mini/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/mini/window.c b/src/glut/mini/window.c
index 73266769c5..5a59e64de6 100644
--- a/src/glut/mini/window.c
+++ b/src/glut/mini/window.c
@@ -90,7 +90,7 @@ int APIENTRY glutCreateWindow (const char *title)
attr.event_mask = StructureNotifyMask | ExposureMask;
mask = CWBackPixel | CWBorderPixel | CWColormap | CWEventMask;
- win = XCreateWindow( dpy, root, 0, 0, g_width, g_height,
+ win = XCreateWindow( dpy, root, g_xpos, g_ypos, g_width, g_height,
0, visinfo->depth, InputOutput,
visinfo->visual, mask, &attr );
if (!win) {