mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
miniglx/glut: should use the x/y pos to create window
This allows moving miniglx glut windows around the framebuffer
This commit is contained in:
parent
f1770c3210
commit
401629c721
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue