summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-10-20 17:21:51 +0200
committerPierre Ossman <ossman@cendio.se>2015-02-16 15:59:22 +0100
commit4cf2d3a621ecb9918b57021bc1cee1bd016dc0aa (patch)
tree9e998f50e7af4a0e32119cfc7b82243eba0f7ca9
parentcc8c6a296f48552dde4375c5b491225262b4814f (diff)
downloadtigervnc-4cf2d3a621ecb9918b57021bc1cee1bd016dc0aa.tar.gz
tigervnc-4cf2d3a621ecb9918b57021bc1cee1bd016dc0aa.zip
Remove no longer functional workaround
This workaround is no longer effective with the new system handler method of handling keyboard events. The bug has also been fixed in upstream FLTK, further making it pointless.
-rw-r--r--vncviewer/DesktopWindow.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vncviewer/DesktopWindow.cxx b/vncviewer/DesktopWindow.cxx
index d30dfc2f..eb62edd6 100644
--- a/vncviewer/DesktopWindow.cxx
+++ b/vncviewer/DesktopWindow.cxx
@@ -387,15 +387,6 @@ int DesktopWindow::handle(int event)
}
// Continue processing so that the viewport also gets mouse events
break;
-
- case FL_SHORTCUT:
- // Sometimes the focus gets out of whack and we fall through to the
- // shortcut dispatching. Try to make things sane again...
- if (Fl::focus() == NULL) {
- take_focus();
- Fl::handle(FL_KEYDOWN, this);
- }
- return 1;
}
return Fl_Window::handle(event);