summaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-07-04 11:27:47 +0000
committerPierre Ossman <ossman@cendio.se>2012-07-04 11:27:47 +0000
commitff473402c15c45e3a501508d65dcb781d9aa8f44 (patch)
tree8243f0b393421e60598a29f06b2478a9eb1f2b2b /vncviewer/DesktopWindow.h
parenta23989bfdea3d826680ec355a67da6ac3a579ab6 (diff)
downloadtigervnc-ff473402c15c45e3a501508d65dcb781d9aa8f44.tar.gz
tigervnc-ff473402c15c45e3a501508d65dcb781d9aa8f44.zip
Make it possible to dynamically resize the size of the session, when resizing
the viewer window, or when entering or leaving fullscreen mode. Initial work done by Arthur Huillet and clohr. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4924 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.h')
-rw-r--r--vncviewer/DesktopWindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index fbb5f954..3fe9c866 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -86,6 +86,9 @@ private:
static void handleGrab(void *data);
+ static void handleResizeTimeout(void *data);
+ void remoteResize();
+
void repositionViewport();
static void handleClose(Fl_Widget *wnd, void *data);
@@ -93,7 +96,10 @@ private:
static void handleOptions(void *data);
private:
+ CConn* cc;
Viewport *viewport;
+
+ bool firstUpdate;
};
#endif