mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-30 07:35:59 +00:00
Changed: #947 fixed set mouse pos in fullscreen on non main monitor
This commit is contained in:
parent
7457a1838f
commit
ec3f194b42
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ void setMousePos(float x, float y)
|
||||||
NSRect firstScreenRect = [[[NSScreen screens] objectAtIndex:0] frame];
|
NSRect firstScreenRect = [[[NSScreen screens] objectAtIndex:0] frame];
|
||||||
|
|
||||||
// get the rect (position, size) of the window
|
// get the rect (position, size) of the window
|
||||||
NSRect windowRect = [g_window frame];
|
NSRect windowRect;
|
||||||
if([g_glview isInFullScreenMode])
|
if([g_glview isInFullScreenMode])
|
||||||
windowRect = [[g_window screen] frame];
|
windowRect = [[g_window screen] frame];
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue