Fix for frames not resizing.

This commit is contained in:
joki@netscape.com
1999-03-03 01:59:50 +00:00
parent 173b9a2140
commit 9707c69fc8
5 changed files with 24 additions and 0 deletions
@@ -1341,6 +1341,9 @@ nsHTMLFramesetFrame::StartMouseDrag(nsIPresContext& aPresContext, nsHTMLFrameset
NS_RELEASE(viewMan);
mDragger = aBorder;
//XXX This should go away! Border should have own view instead
view->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
// can't set it to this event's point - it is not in framesetframe coords
mLastDragPoint.MoveTo(NULL_POINT_X, NULL_POINT_Y);
@@ -1444,6 +1447,8 @@ nsHTMLFramesetFrame::EndMouseDrag()
PRBool ignore;
viewMan->GrabMouseEvents(nsnull, ignore);
NS_RELEASE(viewMan);
//XXX This should go away! Border should have own view instead
view->ClearViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
}
}
gDragInProgress = PR_FALSE;