diff options
author | Sven Gothel <[email protected]> | 2012-07-20 14:48:52 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-07-20 14:48:52 +0200 |
commit | 06b6a74f4915a539f6025112a82e517d8e8cb7af (patch) | |
tree | 9d3fa48f6d8658e98da5fc6097d53f634a06fac2 /src/newt/classes/jogamp | |
parent | 209a5ac217b591991d520789313eb4f819da89d2 (diff) |
Fix TestFocus01SwingAWTRobot failure duer to RedSquareES2's setFullscreen() toggle mouse adapter :)
Moved the fullscreen toggle mouse adapter to main test class.
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/WindowImpl.java | 3 |
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 e49f91abd..002144b2f 100644 --- a/src/newt/classes/jogamp/newt/WindowImpl.java +++ b/src/newt/classes/jogamp/newt/WindowImpl.java @@ -1805,8 +1805,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer public boolean setFullscreen(boolean fullscreen) { synchronized(fullScreenAction) { if( fullScreenAction.init(fullscreen) ) { - if(fullScreenAction.fsOn() && - isOffscreenInstance(WindowImpl.this, parentWindow)) { + if(fullScreenAction.fsOn() && isOffscreenInstance(WindowImpl.this, parentWindow)) { // enable fullscreen on offscreen instance if(null != parentWindow) { nfs_parent = parentWindow; |