From e0e1d495dce36c03f53c3d0b77ea9fc3d0aa203c Mon Sep 17 00:00:00 2001 From: rti Date: Sun, 13 Jun 2010 22:52:18 +0200 Subject: [PATCH] Changed: #947 fixed set mouse pos in fullscreen on non main monitor --- code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm index 106163f88..6c7629f9a 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_adapter.mm @@ -426,7 +426,7 @@ void setMousePos(float x, float y) NSRect firstScreenRect = [[[NSScreen screens] objectAtIndex:0] frame]; // get the rect (position, size) of the window - NSRect windowRect = [g_window frame]; + NSRect windowRect; if([g_glview isInFullScreenMode]) windowRect = [[g_window screen] frame]; else