]> Pileus Git - ~andy/gtk/commit
[broadway] Report most special keys in keypressed
authorAlexander Larsson <alexl@redhat.com>
Mon, 18 Apr 2011 08:49:47 +0000 (10:49 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 18 Apr 2011 08:55:41 +0000 (10:55 +0200)
commit52074b4cac0c66900236baef705d27f6d6d55542
tree4c38722c20a03bceb1a0712d94a49e7bc40cb23b
parente279210522eaca9433d22228beb452a3de95ccaa
[broadway] Report most special keys in keypressed

Some special key keycode values as seen in keydown actually match
normal keys (like "." has a keyCode 46 on keyPress, which is the same
as Delete, but 190 for KeyDown). So we must match the special keys on
keypress. However, some things must be checked on keydown as they are not
generating keypress events.
gdk/broadway/broadway.js