Bug 296687 TSM (IME) candidate window is displayed at wrong position (too below). patch by Katsuhiro MIHARA <katsuhiromihara@goo.jp> r=josh, sr=sfraser

This commit is contained in:
masayuki%d-toybox.com 2006-02-11 16:04:25 +00:00
Родитель 731ede748e
Коммит 7c3e48ae80
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -2616,7 +2616,7 @@ nsresult nsMacEventHandler::HandleTextEvent(PRUint32 textRangeCount, nsTextRange
mIMEPos.x = textEvent.theReply.mCursorPosition.x;
mIMEPos.y = textEvent.theReply.mCursorPosition.y +
textEvent.theReply.mCursorPosition.height;
focusedWidget->LocalToWindowCoordinate(mIMEPos);
mTopLevelWidget->LocalToWindowCoordinate(mIMEPos);
#ifdef DEBUG_TSM
printf("HandleTextEvent reply (%d,%d)\n", mIMEPos.x , mIMEPos.y);
#endif