Fixing bug 264325. Patch from ginn.chen@sun.com. Home/End/PgUp/PgDn doesn't work in Input/TextArea/Composer/MailNews on Solaris Xserver. r=bryner@brianryner.com, sr=jst@mozilla.org, a=brendan@mozilla.org

This commit is contained in:
jst%mozilla.jstenback.com 2004-10-18 22:31:27 +00:00
Родитель 645b684c44
Коммит fe471fe72e
1 изменённых файлов: 0 добавлений и 10 удалений

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

@ -237,16 +237,6 @@ DOMKeyCodeToGdkKeyCode(PRUint32 aKeysym)
if (aKeysym >= NS_VK_NUMPAD0 && aKeysym <= NS_VK_NUMPAD9) if (aKeysym >= NS_VK_NUMPAD0 && aKeysym <= NS_VK_NUMPAD9)
return aKeysym - NS_VK_NUMPAD0 + GDK_KP_0; return aKeysym - NS_VK_NUMPAD0 + GDK_KP_0;
// map Sun Keyboard special keysyms
if (IS_XSUN_XSERVER(GDK_DISPLAY())) {
length = NS_ARRAY_LENGTH(nsSunKeycodes);
for (i = 0; i < length; ++i) {
if (nsSunKeycodes[i].vkCode == aKeysym) {
return nsSunKeycodes[i].keysym;
}
}
}
// misc other things // misc other things
length = NS_ARRAY_LENGTH(nsKeycodes); length = NS_ARRAY_LENGTH(nsKeycodes);
for (i = 0; i < length; ++i) { for (i = 0; i < length; ++i) {