This commit is contained in:
parent
b911005854
commit
351eca07a4
|
@ -1344,6 +1344,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
}) == null )
|
||||
throw new LWJGLException("Failed to apply Compiz LFS workaround.");
|
||||
|
||||
if ( state ) {
|
||||
try {
|
||||
// gconftool will not apply the workaround immediately, sleep a bit
|
||||
// to make sure it will be ok when we create the window.
|
||||
|
@ -1352,13 +1353,14 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
} catch (IOException e) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
|
||||
if ( provider != null && !provider.hasLegacyFullscreenSupport() ) { // No need to do anything is LFS is already enabled.
|
||||
if ( provider != null && !provider.hasLegacyFullscreenSupport() ) { // No need to do anything if LFS is already enabled.
|
||||
applyFix = true;
|
||||
LWJGLUtil.log("Using " + providerName + " to apply Compiz LFS workaround.");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue