[MPlayer-cvslog] r25496 - trunk/libvo/vo_macosx.m

ulion subversion at mplayerhq.hu
Sat Dec 22 15:55:27 CET 2007


Author: ulion
Date: Sat Dec 22 15:55:26 2007
New Revision: 25496

Log:
Do not send mouse movements events in root win mode.


Modified:
   trunk/libvo/vo_macosx.m

Modified: trunk/libvo/vo_macosx.m
==============================================================================
--- trunk/libvo/vo_macosx.m	(original)
+++ trunk/libvo/vo_macosx.m	Sat Dec 22 15:55:26 2007
@@ -1005,7 +1005,7 @@ static int control(uint32_t request, voi
 		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];



More information about the MPlayer-cvslog mailing list