Better handling of the numpad by looking at FLTK's "original key code".
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4434 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 87a9cf9..24d0f3c 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -98,8 +98,8 @@
void handlePointerEvent(const rfb::Point& pos, int buttonMask);
static void handlePointerTimeout(void *data);
- rdr::U32 translateKeyEvent(int keyCode, const char *keyText);
- void handleKeyEvent(int keyCode, const char *keyText, bool down);
+ rdr::U32 translateKeyEvent(int keyCode, int origKeyCode, const char *keyText);
+ void handleKeyEvent(int keyCode, int origKeyCode, const char *keyText, bool down);
void initContextMenu();
void popupContextMenu();