diff options
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r-- | src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java b/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java index 97625c8aa..6147b3dc0 100644 --- a/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java +++ b/src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java @@ -175,7 +175,7 @@ public class NewtFactoryAWT extends NewtFactory { try { final Integer dispID = JAWTUtil.getMonitorDisplayID( gc.getDevice() ); if( null != dispID ) { - res = screen.getMonitor( dispID.intValue() ); + res = screen.getMonitorById( dispID.intValue() ); } if( null == res ) { // Fallback, use AWT component coverage |