-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Viewer: Don't init GUI if turbovnc.sshkeytest set
- Loading branch information
1 parent
f24eaec
commit 8276416
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* Copyright (C) 2011-2018, 2020-2024 D. R. Commander. All Rights Reserved. | ||
/* Copyright (C) 2011-2018, 2020-2025 D. R. Commander. All Rights Reserved. | ||
* Copyright (C) 2011-2013, 2016 Brian P. Hinz | ||
* Copyright 2011 Pierre Ossman <[email protected]> for Cendio AB | ||
* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. | ||
|
@@ -177,7 +177,8 @@ static void enableFileHandler() throws Exception { | |
} | ||
|
||
static void setLookAndFeel() { | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false)) | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false) || | ||
Utils.getBooleanProperty("turbovnc.sshkeytest", false)) | ||
return; | ||
|
||
try { | ||
|
@@ -254,7 +255,8 @@ public void run() { | |
} | ||
|
||
static void setGlobalInsets() { | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false)) | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false) || | ||
Utils.getBooleanProperty("turbovnc.sshkeytest", false)) | ||
return; | ||
|
||
try { | ||
|
@@ -304,7 +306,8 @@ public void componentResized(ComponentEvent e) { | |
} | ||
|
||
public static void setBlitterDefaults() { | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false)) | ||
if (Utils.getBooleanProperty("turbovnc.autotest", false) || | ||
Utils.getBooleanProperty("turbovnc.sshkeytest", false)) | ||
return; | ||
|
||
// Java 1.7 and later do not include hardware-accelerated 2D blitting | ||
|