Mercurial > mplayer.hg
diff libvo/vo_macosx.m @ 25468:a77c438fedf7
Do not send mouse movements events in root win mode.
author | ulion |
---|---|
date | Sat, 22 Dec 2007 14:55:26 +0000 |
parents | 8dfc8a3b4152 |
children | 46f0b4d34fa1 |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Sat Dec 22 11:25:59 2007 +0000 +++ b/libvo/vo_macosx.m Sat Dec 22 14:55:26 2007 +0000 @@ -1005,7 +1005,7 @@ CGDisplayShowCursor(kCGDirectMainDisplay); mouseHide = NO; } - if (enable_mouse_movements) { + if (enable_mouse_movements && !isRootwin) { NSPoint p =[self convertPoint:[theEvent locationInWindow] fromView:nil]; if ([self mouse:p inRect:textureFrame]) { char cmdstr[40];