From: Dave Airlie Date: Tue, 8 May 2007 00:49:31 +0000 (+1000) Subject: miniglx/glut: should use the x/y pos to create window X-Git-Tag: 062012170305~19412 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=401629c721d04941747106f543b6bc3d1fc2634c;p=profile%2Fivi%2Fmesa.git miniglx/glut: should use the x/y pos to create window This allows moving miniglx glut windows around the framebuffer --- diff --git a/src/glut/mini/window.c b/src/glut/mini/window.c index 7326676..5a59e64 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) {