# HG changeset patch # User ulion # Date 1198335326 0 # Node ID a77c438fedf7fde7887f67af91d1f63f868c9ef0 # Parent 7bdd28e3fca7a93e8c0b6a21eca0725f9fd0f592 Do not send mouse movements events in root win mode. diff -r 7bdd28e3fca7 -r a77c438fedf7 libvo/vo_macosx.m --- 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];