Linux: Fixed privileged property access in LinuxDisplay.java

This commit is contained in:
Elias Naur 2006-07-04 10:52:36 +00:00
parent 0f4df46e9b
commit cfe79394e6
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ final class LinuxDisplay implements DisplayImplementation {
}
private static boolean isXrandrSupported() {
if (Boolean.getBoolean("LWJGL_DISABLE_XRANDR"))
if (Display.getPrivilegedBoolean("LWJGL_DISABLE_XRANDR"))
return false;
lockAWT();
try {
@ -177,7 +177,7 @@ final class LinuxDisplay implements DisplayImplementation {
private static native boolean nIsXF86VidModeSupported() throws LWJGLException;
private static boolean isNetWMFullscreenSupported() throws LWJGLException {
if (Boolean.getBoolean("LWJGL_DISABLE_NETWM"))
if (Display.getPrivilegedBoolean("LWJGL_DISABLE_NETWM"))
return false;
lockAWT();
try {