Ack, forgot to update the index again.
[mesa.git] / src / glut / mini / window.c
index 73266769c535fdc901c8d90bb40dc1070307696a..5a59e64de6c68a0941f1a8cd363b40fd22c4fe36 100644 (file)
@@ -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) {