diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-08 10:49:31 +1000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:03:35 +0100 |
commit | 14273c06ffd74d22d1987214d522c85692c66597 (patch) | |
tree | c534b1520bbf8a0424c3da371b00b4846d8d57db | |
parent | a9b2bff1a25bc79495c606562a43c0ed037a3779 (diff) | |
download | glut-14273c06ffd74d22d1987214d522c85692c66597.tar.gz |
miniglx/glut: should use the x/y pos to create window
This allows moving miniglx glut windows around the framebuffer
-rw-r--r-- | src/glut/mini/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |