diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-05-24 12:47:12 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-05-24 12:47:12 +0000 |
commit | 4e7271e060c2b0c9be9649692f0c608604ea545a (patch) | |
tree | b89ec5241c87683c4b67f816a4df0252515b1552 /vncviewer/Viewport.h | |
parent | df0ed9f731b2494677651ff5c0bebcf989cbb8b3 (diff) | |
download | tigervnc-4e7271e060c2b0c9be9649692f0c608604ea545a.tar.gz tigervnc-4e7271e060c2b0c9be9649692f0c608604ea545a.zip |
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
Diffstat (limited to 'vncviewer/Viewport.h')
-rw-r--r-- | vncviewer/Viewport.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<int, rdr::U32> DownMap; DownMap downKeySym; + int menuKeyCode; Fl_Menu_Button *contextMenu; }; |