mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 00:19:09 +00:00
(svn r7955) -Backport from trunk (r7886):
- [osx] control+enter no longer fullscreens, interfered with team-chat.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user