Make sure AltGr gets sent over on X11.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4367 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index 7da4320..8c08aa7 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -29,6 +29,7 @@
// FLTK can pull in the X11 headers on some systems
#ifndef XK_VoidSymbol
#define XK_MISCELLANY
+#define XK_XKB_KEYS
#include <rfb/keysymdef.h>
#endif
@@ -373,6 +374,9 @@
return XK_KP_Decimal;
case FL_KP + '/':
return XK_KP_Divide;
+ case XK_ISO_Level3_Shift:
+ // FLTK tends to let this one leak through on X11...
+ return XK_ISO_Level3_Shift;
}
// Ctrl and Cmd tend to fudge input handling, so we need to cheat here