[MPlayer-dev-eng] [PATCH] vo_macosx support mouse movements

Diego Biurrun diego at biurrun.de
Tue Dec 18 18:49:03 CET 2007


On Tue, Dec 18, 2007 at 06:43:47PM +0100, Nico Sabbi wrote:
> 
> > @@ -1004,6 +1005,16 @@
> >                 CGDisplayShowCursor(kCGDirectMainDisplay);
> >                 mouseHide = NO;
> >         }
> > +       if (enable_mouse_movements) {
> > +               NSPoint p =[self convertPoint:[theEvent locationInWindow] fromView:nil];
> 
> I'm curious: what kind of hellish syntax is that?

objective C

Diego



More information about the MPlayer-dev-eng mailing list