aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-12 02:58:57 +0200
committerSven Gothel <[email protected]>2011-10-12 02:58:57 +0200
commitdde34c4961822fb5551730331dbcbe713ef73044 (patch)
treee6ab5b4b8e55f5a5d9c13e37f3e04035b2ccca48 /src/newt
parentf74e98c9471cd08573ac656a39eeaf09bdf4b24e (diff)
Fix Nativewindow GetLocationOnScreen OSX impl. - Transform OSX origin bottom-left to our top-left origin.
Diffstat (limited to 'src/newt')
-rw-r--r--src/newt/native/MacWindow.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/MacWindow.m b/src/newt/native/MacWindow.m
index 8d4a5ce4b..d8839abe0 100644
--- a/src/newt/native/MacWindow.m
+++ b/src/newt/native/MacWindow.m
@@ -57,7 +57,7 @@ static void setFrameTopLeftPoint(NSWindow* pWin, NSWindow* mWin, jint x, jint y,
NSRect screenRect = [screen frame];
NSPoint pS = NSMakePoint(screenRect.origin.x + x, screenRect.origin.y + screenRect.size.height - y - h);
- DBG_PRINT( "setFrameTopLeftPoint screen %lf/%lf %lfx%lf, top-left %d/%d -> bottom-left %lf/%lf\n",
+ DBG_PRINT( "setFrameTopLeftPoint screen %lf/%lf %lfx%lf, win top-left %d/%d -> scrn bottom-left %lf/%lf\n",
screenRect.origin.x, screenRect.origin.y, screenRect.size.width, screenRect.size.height,
(int)x, (int)y, pS.x, pS.y);