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
diff --git a/win/winvnc/JavaViewer.cxx b/win/winvnc/JavaViewer.cxx
index 3813f22..e1cb6e5 100644
--- a/win/winvnc/JavaViewer.cxx
+++ b/win/winvnc/JavaViewer.cxx
@@ -93,7 +93,7 @@
}
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) {