Changed: #947 fixed set mouse pos in fullscreen on non main monitor

This commit is contained in:
rti 2010-06-13 22:52:18 +02:00
parent 1bfd711681
commit e0e1d495dc

View file

@ -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