Commit c877b353 authored by David Fuhrmann's avatar David Fuhrmann

macosx: do not handle triple clicks explicitely

refs #11061
parent cf3eec8b
...@@ -151,8 +151,9 @@ ...@@ -151,8 +151,9 @@
- (void)mouseDown:(NSEvent *)o_event - (void)mouseDown:(NSEvent *)o_event
{ {
if (([o_event type] == NSLeftMouseDown) && (! ([o_event modifierFlags] & NSControlKeyMask))) { if (([o_event type] == NSLeftMouseDown) && (! ([o_event modifierFlags] & NSControlKeyMask))) {
if ([o_event clickCount] > 1) if ([o_event clickCount] == 2)
[[VLCCoreInteraction sharedInstance] toggleFullscreen]; [[VLCCoreInteraction sharedInstance] toggleFullscreen];
} else if (([o_event type] == NSRightMouseDown) || } else if (([o_event type] == NSRightMouseDown) ||
(([o_event type] == NSLeftMouseDown) && (([o_event type] == NSLeftMouseDown) &&
([o_event modifierFlags] & NSControlKeyMask))) ([o_event modifierFlags] & NSControlKeyMask)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment