summaryrefslogtreecommitdiff
path: root/src/video/cocoa_v.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa_v.m')
-rw-r--r--src/video/cocoa_v.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video/cocoa_v.m b/src/video/cocoa_v.m
index f93f86ca4..8ea16315a 100644
--- a/src/video/cocoa_v.m
+++ b/src/video/cocoa_v.m
@@ -337,10 +337,7 @@ static void QZ_KeyEvent(unsigned short keycode, unsigned short unicode, BOOL dow
case QZ_RETURN:
case QZ_f:
- if (down && (
- (_cocoa_video_data.current_mods & NSControlKeyMask) ||
- (_cocoa_video_data.current_mods & NSCommandKeyMask)
- )) {
+ if (down && (_cocoa_video_data.current_mods & NSCommandKeyMask)) {
CocoaVideoFullScreen(!_fullscreen);
}
break;