diff options
author | Sven Gothel <[email protected]> | 2010-11-17 10:39:56 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-17 10:39:56 +0100 |
commit | 984d1ef68ce7e353e9192fe3a4c3ec4ad7a2929c (patch) | |
tree | 59367df59c23445265cdf92af4080dec5267b2c4 /src/newt/classes | |
parent | dd0038a68a9aa99646549644c3338266546b05f8 (diff) |
Moving NEWT X11Window GetRelativeLocation() native implementation to NativeWindow X11.
Diffstat (limited to 'src/newt/classes')
-rw-r--r-- | src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java b/src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java index 06c7dfa99..91143923d 100644 --- a/src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java +++ b/src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java @@ -33,6 +33,7 @@ package com.jogamp.newt.impl.x11; +import com.jogamp.nativewindow.impl.x11.X11Util; import com.jogamp.newt.impl.WindowImpl; import javax.media.nativewindow.*; import javax.media.nativewindow.x11.*; @@ -114,7 +115,7 @@ public class X11Window extends WindowImpl { } protected Point getLocationOnScreenImpl(int x, int y) { - return (Point) getRelativeLocation0( getDisplayHandle(), getScreenIndex(), getWindowHandle(), 0 /*root win*/, x, y); + return X11Util.GetRelativeLocation( getDisplayHandle(), getScreenIndex(), getWindowHandle(), 0 /*root win*/, x, y); } //---------------------------------------------------------------------- |