summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2017-10-29 16:06:31 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-07 18:30:08 +0900
commita4baec04e25fcabe0b4d3e043346b48e74964427 (patch)
tree4fb7d6193ec6b9ef3a70dfea5d48dc7f9b54d92e
parent3d4e84a7f208082e5171775a0b03d32d96a2da65 (diff)
downloadefl-a4baec04e25fcabe0b4d3e043346b48e74964427.tar.gz
ecore_cocoa: fix the backspace key
The backspace key is supposed to send an ASCII code of 0x08, not 0x7F (this would be the delete key). This has not be seen before as it is is rare to use the ASCII code for the BackSpace key. @fix
-rw-r--r--src/lib/ecore_cocoa/ecore_cocoa_keys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_keys.h b/src/lib/ecore_cocoa/ecore_cocoa_keys.h
index 4eda272cf3..56d9d8f33c 100644
--- a/src/lib/ecore_cocoa/ecore_cocoa_keys.h
+++ b/src/lib/ecore_cocoa/ecore_cocoa_keys.h
@@ -121,7 +121,7 @@ static const struct _ecore_cocoa_keys_s keystable[] =
{ 123, "braceleft", "{" },
{ 124, "pipe", "|" },
{ 125, "braceright", "}" },
-{ 127, "BackSpace", "\177" },
+{ 127, "BackSpace", "\x08" },
{ 126, "asciitilde", "~" },
{ 160, "w0", "" },