[vlc-devel] [PATCH 4/4] macosx: only show fullscreen controller when the mouse is inside the video window actually

David Fuhrmann david.fuhrmann at googlemail.com
Sat Feb 4 18:14:59 CET 2012


this is especially important in multi monitor setups
---
 modules/gui/macosx/VideoView.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/VideoView.m b/modules/gui/macosx/VideoView.m
index a3200ba..6351417 100644
--- a/modules/gui/macosx/VideoView.m
+++ b/modules/gui/macosx/VideoView.m
@@ -279,8 +279,8 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
         if( b_inside )
         {
             vout_display_SendEventMouseMoved( [[[self subviews] objectAtIndex:0] voutDisplay], ((int)ml.x), ((int)s_rect.size.height - ((int)ml.y)) );
+            [[VLCMain sharedInstance] showFullscreenController];
         }
-        [[VLCMain sharedInstance] showFullscreenController];
         vlc_object_release( p_vout );
     }
 
-- 
1.7.5.4




More information about the vlc-devel mailing list