rem: W_MoveView(box->subviews[i].view, x, y);
context: rearrange(WMBox *box){    int i;    int x, y;    int w, h;    int total;    int expands = 0;        x = box->borderWidth;    y = box->borderWidth;        if (box->horizontal) {	h = WMWidgetHeight(box) - 2 * box->borderWidth;	total = WMWidgetWidth(box) - 2 * box->borderWidth;    } else {	w = WMWidgetWidth(box) - 2 * box->borderWidth;	total = WMWidgetHeight(box) - 2 * box->borderWidth;    }            for (i = 0; i < box->subviewCount; i++) {	total -= box->subviews[i].minSize;	total -= box->subviews[i].space;		if (box->subviews[i].expand) {	    expands++;	}    }        for (i = 0; i < box->subviewCount; i++) {	if (box->horizontal) {	    w = box->subviews[i].minSize;	    if (box->subviews[i].expand)		w += total/expands;	} else {	    h = box->subviews[i].minSize;	    if (box->subviews[i].expand)		h += total/expands;	}	W_ResizeView(box->subviews[i].view, w, h);	W_MoveView(box->subviews[i].view, x, y);	if (box->horizontal) {	    x += w + box->subviews[i].space;	} else {	    y += h + box->subviews[i].space;	}    }}