mirror of https://github.com/OpenTTD/OpenTTD
(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)release/0.6
parent
13db63f63b
commit
7dff5fccd3
|
@ -337,10 +337,7 @@ static void QZ_KeyEvent(unsigned short keycode, unsigned short unicode, BOOL dow
|
||||||
|
|
||||||
case QZ_RETURN:
|
case QZ_RETURN:
|
||||||
case QZ_f:
|
case QZ_f:
|
||||||
if (down && (
|
if (down && (_cocoa_video_data.current_mods & NSCommandKeyMask)) {
|
||||||
(_cocoa_video_data.current_mods & NSControlKeyMask) ||
|
|
||||||
(_cocoa_video_data.current_mods & NSCommandKeyMask)
|
|
||||||
)) {
|
|
||||||
CocoaVideoFullScreen(!_fullscreen);
|
CocoaVideoFullScreen(!_fullscreen);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue