[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 15:08:05 CET 2012


vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Sat Feb  4 18:14:59 2012 +0100| [9c574fe14a6604e9c588521808c34c24f1e434ac] | committer: Jean-Baptiste Kempf

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>
(cherry picked from commit c33a6b5e6430d0727b932dc78d048ab4f9f6642a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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