diff options
author | bjarni <bjarni@openttd.org> | 2007-01-05 19:50:44 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2007-01-05 19:50:44 +0000 |
commit | 7dff5fccd30e884eda50772efe9526359e642609 (patch) | |
tree | e7348dacc6c4666d8a5a9fa751d2629016371dac /src/video | |
parent | 13db63f63b271768c78d4e93ed9c038e931b022f (diff) | |
download | openttd-7dff5fccd30e884eda50772efe9526359e642609.tar.xz |
(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)
Diffstat (limited to 'src/video')
-rw-r--r-- | src/video/cocoa_v.m | 5 |
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; |