rem: XineramaInfo *xine_screens; WXineramaInfo *info = &scr->xine_info;
add: XineramaScreenInfo *xine_screens;
context: initXinerama(){    xineInfo.screens = NULL;    xineInfo.count = 0;#ifdef XINERAMA# ifdef SOLARIS_XINERAMA    if (XineramaGetState(dpy, scr)) {        XRectangle head[MAXFRAMEBUFFERS];        unsigned char hints[MAXFRAMEBUFFERS];        int i;        if (XineramaGetInfo(dpy, scr, head, hints,                             &xineInfo.count)) {            xineInfo.screens = wmalloc(sizeof(WMRect)*(xineInfo.count+1));                    for (i=0; i<xineInfo.count; i++) {                xineInfo.screens[i].pos.x = head[i].x;                xineInfo.screens[i].pos.y = head[i].y;                xineInfo.screens[i].size.width = head[i].width;                xineInfo.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, &xineInfo.count);        xineInfo.screens = wmalloc(sizeof(WMRect)*(xineInfo.count+1));                for (i=0; i<xineInfo.count; i++) {            xineInfo.screens[i].pos.x = xineInfo.screens[i].x_org;            xineInfo.screens[i].pos.y = xineInfo.screens[i].y_org;            xineInfo.screens[i].size.width = xineInfo.screens[i].width;            xineInfo.screens[i].size.height = xineInfo.screens[i].height;        }        XFree(xine_screens);    }# endif /* !SOLARIS_XINERAMA */#endif /* XINERAMA */}