summaryrefslogtreecommitdiffstats
path: root/win/winvnc/JavaViewer.cxx
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2014-01-12 13:46:17 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2014-01-12 13:46:17 +0000
commitdc6af3740c36ec18e1c409096d6943951982d7ec (patch)
tree7fd9f00bc7e5037b63acc0edfa8eea4701b6a2a9 /win/winvnc/JavaViewer.cxx
parent94896e56d2367d28c87281acb5d1a575cdf6de02 (diff)
downloadtigervnc-dc6af3740c36ec18e1c409096d6943951982d7ec.tar.gz
tigervnc-dc6af3740c36ec18e1c409096d6943951982d7ec.zip
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
Diffstat (limited to 'win/winvnc/JavaViewer.cxx')
-rw-r--r--win/winvnc/JavaViewer.cxx2
1 files changed, 1 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) {