From 430d8cf098aef3d1223a51cfd7d52ca2552b52df Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Thu, 2 Jan 2014 01:23:56 +0000 Subject: 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 --- unix/xserver/hw/vnc/XserverDesktop.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unix') 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) { -- cgit v1.2.3