Implement a more robust method to handle the keyboard grab/focus voodoo as
it didn't catch some cases on OS X.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4496 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index 2be0768..0848306 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -72,6 +72,8 @@
int handle(int event);
private:
+ static int fltkHandle(int event, Fl_Window *win);
+
void grabKeyboard();
void ungrabKeyboard();