]> git.sesse.net Git - vlc/commitdiff
macosx: do not handle triple clicks explicitely
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 25 Mar 2014 18:05:23 +0000 (19:05 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 25 Mar 2014 20:35:27 +0000 (21:35 +0100)
refs #11061

modules/gui/macosx/VideoView.m

index ca961e36ae2e8ed9ec689c2afbde98fe8adeeeb5..c02e4495c135762dd63ee4e548a3fbb4ebd20773 100644 (file)
 - (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)))