npapi-vlc | branch: master | Felix Paul Kühne <[email protected]> | Wed Jan 
16 18:40:50 2013 +0100| [38e9762e63ea5574a1b5cc137adda8efc738db55] | committer: 
Felix Paul Kühne

windowed mac plugin: fixed compilation for the 32bit runtime

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=38e9762e63ea5574a1b5cc137adda8efc738db55
---

 npapi/vlcplugin_mac.mm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index 79a71a6..146b1d0 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -934,7 +934,7 @@ static CGImageRef createImageNamed(NSString *name)
         else {
             NSPoint point = [NSEvent mouseLocation];
 
-            [controllerLayer handleMouseDown:[browserRootLayer 
convertPoint:point toLayer:controllerLayer]];
+            [controllerLayer handleMouseDown:[browserRootLayer 
convertPoint:CGPointMake(point.x, point.y) toLayer:controllerLayer]];
         }
     }
 
@@ -945,7 +945,7 @@ static CGImageRef createImageNamed(NSString *name)
 {
     NSPoint point = [NSEvent mouseLocation];
 
-    [controllerLayer handleMouseUp:[browserRootLayer convertPoint:point 
toLayer:controllerLayer]];
+    [controllerLayer handleMouseUp:[browserRootLayer 
convertPoint:CGPointMake(point.x, point.y) toLayer:controllerLayer]];
 
     [super mouseUp: theEvent];
 }
@@ -954,7 +954,7 @@ static CGImageRef createImageNamed(NSString *name)
 {
     NSPoint point = [NSEvent mouseLocation];
 
-    [controllerLayer handleMouseDragged:[browserRootLayer convertPoint:point 
toLayer:controllerLayer]];
+    [controllerLayer handleMouseDragged:[browserRootLayer 
convertPoint:CGPointMake(point.x, point.y) toLayer:controllerLayer]];
 
     [super mouseDragged: theEvent];
 }

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to