[vlc-commits] macosx: do not handle triple clicks explicitely
    David Fuhrmann 
    git at videolan.org
       
    Tue Mar 25 21:38:52 CET 2014
    
    
  
vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue Mar 25 19:05:23 2014 +0100| [c877b353969c78b7e98b71a8e5cdf0013ec03826] | committer: David Fuhrmann
macosx: do not handle triple clicks explicitely
refs #11061
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c877b353969c78b7e98b71a8e5cdf0013ec03826
---
 modules/gui/macosx/VideoView.m |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/macosx/VideoView.m b/modules/gui/macosx/VideoView.m
index ca961e3..c02e449 100644
--- a/modules/gui/macosx/VideoView.m
+++ b/modules/gui/macosx/VideoView.m
@@ -151,8 +151,9 @@
 - (void)mouseDown:(NSEvent *)o_event
 {
     if (([o_event type] == NSLeftMouseDown) && (! ([o_event modifierFlags] &  NSControlKeyMask))) {
-        if ([o_event clickCount] > 1)
+        if ([o_event clickCount] == 2)
             [[VLCCoreInteraction sharedInstance] toggleFullscreen];
+
     } else if (([o_event type] == NSRightMouseDown) ||
                (([o_event type] == NSLeftMouseDown) &&
                ([o_event modifierFlags] &  NSControlKeyMask)))
    
    
More information about the vlc-commits
mailing list