aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2014-01-02 01:23:56 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2014-01-02 01:23:56 +0000
commit430d8cf098aef3d1223a51cfd7d52ca2552b52df (patch)
treead2778c49fd63fdd4778b95fa660de142b1604de /unix
parent7b7ad80a5a973ae87692ca0b431b94625b520ede (diff)
downloadtigervnc-430d8cf098aef3d1223a51cfd7d52ca2552b52df.tar.gz
tigervnc-430d8cf098aef3d1223a51cfd7d52ca2552b52df.zip
Re-introduces embedded applet mode for the java viewer. On Windows and Linux, the embedded applet can be dragged from the browser window and detached from the browser process. The mouse gesture for detaching the applet is ALT+drag on Windows and SHIFT+drag on Linux.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5149 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc
index b0872793..b0d4601e 100644
--- a/unix/xserver/hw/vnc/XserverDesktop.cc
+++ b/unix/xserver/hw/vnc/XserverDesktop.cc
@@ -1,5 +1,6 @@
/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
* Copyright 2009-2011 Pierre Ossman for Cendio AB
+ * Copyright 2014 Brian P. Hinz
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -338,7 +339,7 @@ char* XserverDesktop::substitute(const char* varName)
}
if (strcmp(varName, "$APPLETHEIGHT") == 0) {
char* str = new char[10];
- sprintf(str, "%d", height() + 32);
+ sprintf(str, "%d", height());
return str;
}
if (strcmp(varName, "$DESKTOP") == 0) {