diff options
author | Geenz <geenz@geenzo.com> | 2013-01-22 15:37:01 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2013-01-22 15:37:01 -0500 |
commit | 29e747c4f17818816c502a3aa653b828e689be4a (patch) | |
tree | 4bb9ed177ca1d03777560c121173a361b7118e91 /indra/llwindow/llwindowmacosx-objc.mm | |
parent | 1bbbaf8dd69a08a3e7c570e6ad14f57a4f6e91cb (diff) |
And thus, the demonic mouse position conversions from view space to screen space were tamed.
Diffstat (limited to 'indra/llwindow/llwindowmacosx-objc.mm')
-rw-r--r-- | indra/llwindow/llwindowmacosx-objc.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowmacosx-objc.mm b/indra/llwindow/llwindowmacosx-objc.mm index 1a64c94b2d..b6e5767203 100644 --- a/indra/llwindow/llwindowmacosx-objc.mm +++ b/indra/llwindow/llwindowmacosx-objc.mm @@ -298,7 +298,7 @@ void convertWindowToScreen(NSWindowRef window, float *coord) NSPoint point; point.x = coord[0]; point.y = coord[1]; - point = [(LLNSWindow*)window convertBaseToScreen:point]; + point = [(LLNSWindow*)window convertToScreenFromLocalPoint:point relativeToView:[(LLNSWindow*)window contentView]]; coord[0] = point.x; coord[1] = point.y; } |