rem: int wGetHeadForRect(WScreen *scr, WMRect rect)
add: wGetHeadForRect(WScreen *scr, WMRect rect)
context: int wGetHeadForRect(WScreen *scr, WMRect rect){    int best;    unsigned long area;    int i;    int rx = rect.pos.x;    int ry = rect.pos.y;    int rw = rect.size.width;    int rh = rect.size.height;    if (!scr->xine_count)	return scr->xine_primary_head;    best = -1;    area = 0;    #ifdef XINERAMA        for (i = 0; i < scr->xine_count; i++) {	unsigned long a;		a = calcIntersectionArea(rx, ry, rw, rh,				 scr->xine_screens[i].x_org,				 scr->xine_screens[i].y_org,				 scr->xine_screens[i].width,				 scr->xine_screens[i].height);		if (a > area) {	    area = a;	    best = i;	}    }    /*     * in case rect is in dead space, return valid head     */    if (best == -1)	best = wGetHeadForPointerLocation(scr);    return best;#else /* !XINERAMA */    return scr->xine_primary_head;#endif /* !XINERAMA */}