bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #30539] Backspace key sends DEL (0x7f) character on OSX, whereas GS


From: Derek Fawcus
Subject: [bug #30539] Backspace key sends DEL (0x7f) character on OSX, whereas GS X backend does not
Date: Sat, 24 Jul 2010 12:05:31 +0000
User-agent: Firefox/3.6.3

URL:
  <http://savannah.gnu.org/bugs/?30539>

                 Summary: Backspace key sends DEL (0x7f) character on OSX, 
whereas GS X backend does not
                 Project: GNUstep
            Submitted by: dfawcus
            Submitted on: Sat 24 Jul 2010 12:05:30 PM GMT
                Category: Backend
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

If this is to match the OSX behaviour,  then the backspace key should
generate the DEL character.  The change is obvious:

--- a/Source/x11/XGServerEvent.m
+++ b/Source/x11/XGServerEvent.m
@@ -2296,7 +2296,7 @@ process_char (KeySym keysym, unsigned
*eventModifierFlags)
 #endif
       /* FIXME: The following line ? */
     case XK_Escape:       return 0x1b;
-    case XK_BackSpace:    return NSBackspaceKey;
+    case XK_BackSpace:    return NSDeleteCharacter;

       /* The following keys need to be reported as function keys */
 #define XGPS_FUNCTIONKEY \





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30539>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]