diff --git a/mozilla/widget/src/beos/nsDragService.cpp b/mozilla/widget/src/beos/nsDragService.cpp index 8b17d2651ad..cf0eadb6c78 100644 --- a/mozilla/widget/src/beos/nsDragService.cpp +++ b/mozilla/widget/src/beos/nsDragService.cpp @@ -171,8 +171,9 @@ nsDragService::InvokeDragSession (nsIDOMNode *aDOMNode, if (nsnull != aRegion) { PRInt32 aX, aY, aWidth, aHeight; + // TODO. Region may represent multiple rects - when dragging multiple items. aRegion->GetBoundingBox(&aX, &aY, &aWidth, &aHeight); - dragRect.Set( aX, aY, aWidth, aHeight); + dragRect.Set( aX, aY, aX + aWidth, aX + aHeight); haveRect = true; // does this need to be offset? }