Browse Source

Removes the additional padding reserved for the menubar and enables drag undocking for the java applet when served from Windows.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5157 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.3.90
Brian Hinz 10 years ago
parent
commit
dc6af3740c
2 changed files with 3 additions and 1 deletions
  1. 1
    1
      win/winvnc/JavaViewer.cxx
  2. 2
    0
      win/winvnc/index.vnc

+ 1
- 1
win/winvnc/JavaViewer.cxx View File

@@ -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) {

+ 2
- 0
win/winvnc/index.vnc View File

@@ -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>

Loading…
Cancel
Save