rem: XRectangle header[MAXFRAMEBUFFERS];
add: XRectangle head[MAXFRAMEBUFFERS];
context: wInitXinerama(WScreen *scr){    scr->xine_info.primary_head = 0;    scr->xine_info.screens = NULL;    scr->xine_info.count = 0;#ifdef XINERAMA# ifdef SOLARIS_XINERAMA    if (XineramaGetState(dpy, scr->screen)) {        WXineramaInfo *info = &scr->xine_info;        XRectangle header[MAXFRAMEBUFFERS];        unsigned char hints[MAXFRAMEBUFFERS];        int i;        if (XineramaGetInfo(dpy, scr->screen, header, hints,                             &info->count)) {            info->screens = wmalloc(sizeof(WMRect)*(info->count+1));                    for (i=0; i<info->count; i++) {                info->screens[i].pos.x = head[i].x;                info->screens[i].pos.y = head[i].y;                info->screens[i].size.width = head[i].width;                info->screens[i].size.height = head[i].height;            }        }    }# else /* !SOLARIS_XINERAMA */    if (XineramaIsActive(dpy)) {        XineramaInfo *xine_screens;        WXineramaInfo *info = &scr->xine_info;        int i;                xine_screens = XineramaQueryScreens(dpy, &info->count);        info->screens = wmalloc(sizeof(WMRect)*(info->count+1));                for (i=0; i<info->count; i++) {            info->screens[i].pos.x = info->screens[i].x_org;            info->screens[i].pos.y = info->screens[i].y_org;            info->screens[i].size.width = info->screens[i].width;            info->screens[i].size.height = info->screens[i].height;        }        XFree(xine_screens);    }# endif /* !SOLARIS_XINERAMA */#endif /* XINERAMA */}