]> source.dussan.org Git - tigervnc.git/commitdiff
Removes the additional padding reserved for the menubar and enables drag undocking...
authorBrian Hinz <bphinz@users.sourceforge.net>
Sun, 12 Jan 2014 13:46:17 +0000 (13:46 +0000)
committerBrian Hinz <bphinz@users.sourceforge.net>
Sun, 12 Jan 2014 13:46:17 +0000 (13:46 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5157 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/winvnc/JavaViewer.cxx
win/winvnc/index.vnc

index 3813f22cf6cc13cb154eefd1dd8fb372dbc716c1..e1cb6e5f7e8cd950828c6d3b52953485976f063f 100644 (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) {
index 428d4bc89f73a2a19fa1ab99c3e3354caa59f714..560fa2e830c74eb3f07a26d9cff969906400494b 100644 (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>