summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-09-03 02:58:05 +0200
committerSven Gothel <[email protected]>2011-09-03 02:58:05 +0200
commit9955e053ac28d1dc1f6722893d7989d5e2b710c3 (patch)
tree43b8893cc56e733960c1111b89ee558e4f0e8e62 /src
parent2f12b219988dd28b1b2c191afc94b7704022a84a (diff)
Revert commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque(). The original manual logic allows better control
Diffstat (limited to 'src')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index 471262264..55b735b4f 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -172,7 +172,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
window.parentWindowHandle = parentWindowHandle;
window.screen = (ScreenImpl) screen;
window.capsRequested = (CapabilitiesImmutable) caps.cloneMutable();
- window.setUndecorated(0!=parentWindowHandle || !caps.isBackgroundOpaque());
+ window.setUndecorated(0!=parentWindowHandle);
return window;
} catch (Throwable t) {
t.printStackTrace();
@@ -194,7 +194,6 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
WindowImpl window = (WindowImpl) ReflectionUtil.createInstance( windowClass, cstrArgumentTypes, cstrArguments ) ;
window.screen = (ScreenImpl) screen;
window.capsRequested = (CapabilitiesImmutable) caps.cloneMutable();
- window.setUndecorated(!caps.isBackgroundOpaque());
return window;
} catch (Throwable t) {
throw new NativeWindowException(t);