Handling a full range of keys for the menu key is not as trivial in FLTK as
with raw X11, so do what the Windows client did and restrict the available
keys to just the function keys.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4444 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h
index 24d0f3c..f3f60be 100644
--- a/vncviewer/Viewport.h
+++ b/vncviewer/Viewport.h
@@ -104,6 +104,10 @@
void initContextMenu();
void popupContextMenu();
+ void setMenuKey();
+
+ static void handleOptions(void *data);
+
private:
CConn* cc;
@@ -120,6 +124,7 @@
typedef std::map<int, rdr::U32> DownMap;
DownMap downKeySym;
+ int menuKeyCode;
Fl_Menu_Button *contextMenu;
};