summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/Viewport.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx
index 027ca54c..917a9817 100644
--- a/vncviewer/Viewport.cxx
+++ b/vncviewer/Viewport.cxx
@@ -1025,6 +1025,10 @@ void Viewport::handleFLTKKeyPress(void)
{
rdr::U32 keySym;
+#ifdef HAVE_FLTK_XHANDLERS
+ return;
+#endif
+
keySym = translateKeyEvent();
if (keySym == NoSymbol)
return;