From fe471fe72e5884226e018055bea9d47cd9851a8a Mon Sep 17 00:00:00 2001 From: "jst%mozilla.jstenback.com" Date: Mon, 18 Oct 2004 22:31:27 +0000 Subject: [PATCH] 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 --- widget/src/gtk2/nsGtkKeyUtils.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/widget/src/gtk2/nsGtkKeyUtils.cpp b/widget/src/gtk2/nsGtkKeyUtils.cpp index 29b458bd41d..1f0c944cbc4 100644 --- a/widget/src/gtk2/nsGtkKeyUtils.cpp +++ b/widget/src/gtk2/nsGtkKeyUtils.cpp @@ -237,16 +237,6 @@ DOMKeyCodeToGdkKeyCode(PRUint32 aKeysym) if (aKeysym >= NS_VK_NUMPAD0 && aKeysym <= NS_VK_NUMPAD9) 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 length = NS_ARRAY_LENGTH(nsKeycodes); for (i = 0; i < length; ++i) {