Mercurial > hg > openttd
changeset 5543:202699038e75 draft
(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)
author | bjarni <bjarni@openttd.org> |
---|---|
date | Fri, 05 Jan 2007 19:50:44 +0000 |
parents | df31589840c0 |
children | 72a87cf63833 |
files | src/video/cocoa_v.m |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/cocoa_v.m +++ b/src/video/cocoa_v.m @@ -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;