diff options
Diffstat (limited to 'win/winvnc')
-rw-r--r-- | win/winvnc/JavaViewer.cxx | 2 | ||||
-rw-r--r-- | win/winvnc/index.vnc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/win/winvnc/JavaViewer.cxx b/win/winvnc/JavaViewer.cxx index 3813f22c..e1cb6e5f 100644 --- a/win/winvnc/JavaViewer.cxx +++ b/win/winvnc/JavaViewer.cxx @@ -93,7 +93,7 @@ char* JavaViewerServer::substitute(const char* varName) } if (strcmp(varName, "$APPLETHEIGHT") == 0) { char* str = new char[10]; - sprintf(str, "%d", server->getDesktopSize().y + 32); + sprintf(str, "%d", server->getDesktopSize().y); return str; } if (strcmp(varName, "$DESKTOP") == 0) { diff --git a/win/winvnc/index.vnc b/win/winvnc/index.vnc index 428d4bc8..560fa2e8 100644 --- a/win/winvnc/index.vnc +++ b/win/winvnc/index.vnc @@ -14,6 +14,8 @@ $USER's $DESKTOP desktop <APPLET CODE=com.tigervnc.vncviewer.VncViewer ARCHIVE=VncViewer.jar WIDTH=$APPLETWIDTH HEIGHT=$APPLETHEIGHT> <param name=PORT value=$PORT> +<param name="Embed" value="true"> +<param name="draggable" value="true"> </APPLET> <BR> <A href="http://www.tigervnc.org/">TigerVNC site</A> |