diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-08-19 14:06:53 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-08-22 15:10:28 +0200 |
commit | a83c88d513cc639cdf79a1cd7e97cb978001b2ed (patch) | |
tree | 7920a8d29fd106b172b79832c4f6f934c97d4739 /vncviewer | |
parent | 6b743d0c1bf1fe9e11b0ac2cb51ede39fda87362 (diff) | |
download | tigervnc-a83c88d513cc639cdf79a1cd7e97cb978001b2ed.tar.gz tigervnc-a83c88d513cc639cdf79a1cd7e97cb978001b2ed.zip |
Ignore FLTK events when we have low level hooks
Some events can sneak through, e.g. from some virtual keyboards.
We need to ignore these to avoid confusion.
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/Viewport.cxx | 4 |
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; |