зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
731ede748e
Коммит
7c3e48ae80
|
@ -2616,7 +2616,7 @@ nsresult nsMacEventHandler::HandleTextEvent(PRUint32 textRangeCount, nsTextRange
|
||||||
mIMEPos.x = textEvent.theReply.mCursorPosition.x;
|
mIMEPos.x = textEvent.theReply.mCursorPosition.x;
|
||||||
mIMEPos.y = textEvent.theReply.mCursorPosition.y +
|
mIMEPos.y = textEvent.theReply.mCursorPosition.y +
|
||||||
textEvent.theReply.mCursorPosition.height;
|
textEvent.theReply.mCursorPosition.height;
|
||||||
focusedWidget->LocalToWindowCoordinate(mIMEPos);
|
mTopLevelWidget->LocalToWindowCoordinate(mIMEPos);
|
||||||
#ifdef DEBUG_TSM
|
#ifdef DEBUG_TSM
|
||||||
printf("HandleTextEvent reply (%d,%d)\n", mIMEPos.x , mIMEPos.y);
|
printf("HandleTextEvent reply (%d,%d)\n", mIMEPos.x , mIMEPos.y);
|
||||||
#endif
|
#endif
|
||||||
|
|
Загрузка…
Ссылка в новой задаче