(svn r7886) -Fix: [OSX] control+enter will no longer toggle fullscreen as it collided with other hotkeys (pv2b)
authorbjarni
Fri, 05 Jan 2007 19:50:44 +0000
changeset 5794 f77d8e8abbdd
parent 5793 1036001f3cdc
child 5795 41fd1f439c51
(svn r7886) -Fix: [OSX] control+enter will no longer toggle fullscreen as it collided with other hotkeys (pv2b)
People should use command+enter as it was originally intended (this key combo also worked before this commit)
src/video/cocoa_v.m
--- a/src/video/cocoa_v.m	Fri Jan 05 18:28:49 2007 +0000
+++ b/src/video/cocoa_v.m	Fri Jan 05 19:50:44 2007 +0000
@@ -337,10 +337,7 @@
 
 		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;