This commit is contained in:
darin%meer.net 2004-12-07 01:53:37 +00:00
Родитель 0fc766992b
Коммит acf95bcaa1
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2102,13 +2102,13 @@ void nsEventListenerManager::GetCoordinatesFor(nsIDOMElement *aCurrentEl,
}
}
PRInt32 extraPixelsY = 0;
#ifdef MOZ_XUL
// Tree view special case (tree items have no frames)
// Get the focused row and add its coordinates, which are already in pixels
// XXX Boris, should we create a new interface so that event listener manager doesn't
// need to know about trees? Something like nsINodelessChildCreator which
// could provide the current focus coordinates?
PRInt32 extraPixelsY = 0;
nsCOMPtr<nsIDOMXULElement> xulElement(do_QueryInterface(aCurrentEl));
if (xulElement) {
nsCOMPtr<nsIBoxObject> box;