Browse Source

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.
tags/v1.3.90
Pierre Ossman 9 years ago
parent
commit
a83c88d513
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      vncviewer/Viewport.cxx

+ 4
- 0
vncviewer/Viewport.cxx View File

@@ -1025,6 +1025,10 @@ void Viewport::handleFLTKKeyPress(void)
{
rdr::U32 keySym;

#ifdef HAVE_FLTK_XHANDLERS
return;
#endif

keySym = translateKeyEvent();
if (keySym == NoSymbol)
return;

Loading…
Cancel
Save