[vlc-commits] macosx: only show fullscreen controller when the mouse is inside the video window actually

David Fuhrmann git at videolan.org
Sun Feb 5 14:56:06 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Feb  4 18:14:59 2012 +0100| [c33a6b5e6430d0727b932dc78d048ab4f9f6642a] | committer: Felix Paul Kühne

macosx: only show fullscreen controller when the mouse is inside the video window actually

this is especially important in multi monitor setups

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c33a6b5e6430d0727b932dc78d048ab4f9f6642a
---

 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 );
     }
 



More information about the vlc-commits mailing list