Do not send mouse movements events in root win mode.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25496 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ulion 2007-12-22 14:55:26 +00:00
parent 2634462d21
commit 28beb7c155
1 changed files with 1 additions and 1 deletions

View File

@ -1005,7 +1005,7 @@ static int control(uint32_t request, void *data, ...)
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];