Implement support for grabbing the keyboard when in full screen mode.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4449 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index e616b05..9378d7b 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -68,9 +68,18 @@
// Fl_Window callback methods
void resize(int x, int y, int w, int h);
+ int handle(int event);
+
private:
+ void grabKeyboard();
+ void ungrabKeyboard();
+
+ static void handleGrab(void *data);
+
static void handleClose(Fl_Widget *wnd, void *data);
+ static void handleOptions(void *data);
+
private:
Viewport *viewport;
};