rem: p1 = _GetPSubViewStructAt(divider); p2 = _GetPSubViewStructAt(divider+1);
add: p1 = _GetPSubviewStructAt(divider); p2 = _GetPSubviewStructAt(divider+1);
context: dragDivider(SplitView *sPtr, int clickX, int clickY){    int divider, pos, ofs, done, dragging;    int i, count;    XEvent ev;    WMScreen *scr;    int minCoord, maxCoord, coord;    if (sPtr->constrainProc) {	updateConstraints(sPtr);	checkSizes(sPtr);	distributeOffsetFormEnd(sPtr, _GetSplitViewSize() - getTotalSize(sPtr));	checkPositions(sPtr);	updateSubviewsGeom(sPtr);    }    scr = sPtr->view->screen;    divider = ofs = pos = done = 0;    coord = (sPtr->flags.vertical) ? clickX : clickY;    count = _GetSubViewsCount();    if (count < 2)    	return;    for (i = 0; i < count-1; i++) {	pos += _GetSizeAt(i) + DIVIDER_THICKNESS;	if (coord < pos) {	    ofs = coord - pos + DIVIDER_THICKNESS;	    done = 1;	    break;	}	divider++;    }    if (!done)    	return;    getMinMaxDividerCoord(sPtr, divider, &minCoord, &maxCoord);    done = 0;    dragging = 0;    while (!done) {	WMMaskEvent(scr->display, ButtonMotionMask|ButtonReleaseMask		    |ExposureMask, &ev);    	coord = (sPtr->flags.vertical) ? ev.xmotion.x : ev.xmotion.y;	switch (ev.type) {	 case ButtonRelease:	    done = 1;	    if (dragging)		drawDragingRectangle(sPtr, pos);	    break;	    	 case MotionNotify:	    if (dragging)		drawDragingRectangle(sPtr, pos);	    if (coord - ofs < minCoord)		pos = minCoord;	    else if (coord - ofs > maxCoord)		pos = maxCoord;	    else		pos = coord - ofs;	    drawDragingRectangle(sPtr, pos);	    dragging = 1;	    break;	    	 default:	    WMHandleEvent(&ev);	    break;	}    }        if (dragging) {    	T_SplitViewSubView *p1, *p2;	int totSize;		p1 = _GetPSubViewStructAt(divider);	p2 = _GetPSubViewStructAt(divider+1);		totSize = p1->size + DIVIDER_THICKNESS + p2->size;		p1->size = pos - p1->pos;	p2->size = totSize - p1->size - DIVIDER_THICKNESS;	p2->pos = p1->pos + p1->size  + DIVIDER_THICKNESS;		resizeView(sPtr, p1->view, p1->size);	moveView(sPtr, p2->view, p2->pos);	resizeView(sPtr, p2->view, p2->size);	sPtr->flags.subviewsWereManuallyMoved = 1;    }}