From 4e7271e060c2b0c9be9649692f0c608604ea545a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 24 May 2011 12:47:12 +0000 Subject: 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 --- vncviewer/Viewport.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vncviewer/Viewport.h') diff --git a/vncviewer/Viewport.h b/vncviewer/Viewport.h index 24d0f3c0..f3f60be9 100644 --- a/vncviewer/Viewport.h +++ b/vncviewer/Viewport.h @@ -104,6 +104,10 @@ private: void initContextMenu(); void popupContextMenu(); + void setMenuKey(); + + static void handleOptions(void *data); + private: CConn* cc; @@ -120,6 +124,7 @@ private: typedef std::map DownMap; DownMap downKeySym; + int menuKeyCode; Fl_Menu_Button *contextMenu; }; -- cgit v1.2.3