diff options
author | Dave Airlie <airlied@linux.ie> | 2007-05-08 10:49:31 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-05-08 10:49:31 +1000 |
commit | 401629c721d04941747106f543b6bc3d1fc2634c (patch) | |
tree | 90184966df20d225e726a7969c266c84c1b9b224 /src/glut | |
parent | f1770c32103ed23d11422e7e33e8326d09d99370 (diff) |
miniglx/glut: should use the x/y pos to create window
This allows moving miniglx glut windows around the framebuffer
Diffstat (limited to 'src/glut')
-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 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) { |