diff options
author | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-22 14:55:26 +0000 |
---|---|---|
committer | ulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-22 14:55:26 +0000 |
commit | 28beb7c155be4c721070291ed9237e11ed7ba19e (patch) | |
tree | 5c8c0b5b528b82f28731372fcf0827944a97c8f5 /libvo | |
parent | 2634462d2133750b9513f52f26337ce8daf4f7a7 (diff) | |
download | mpv-28beb7c155be4c721070291ed9237e11ed7ba19e.tar.bz2 mpv-28beb7c155be4c721070291ed9237e11ed7ba19e.tar.xz |
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
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_macosx.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 273cba2dff..04d395ae56 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -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]; |