2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fixed Xcode build. When hiding fullscreen window first exit fullscreen.

This commit is contained in:
John Preston
2016-06-16 18:17:39 +03:00
parent fd91893b51
commit 8e78cfed85
11 changed files with 551 additions and 1498 deletions

View File

@@ -276,7 +276,7 @@ bool hideWindowNoQuit() {
if (cWorkMode() == dbiwmTrayOnly || cWorkMode() == dbiwmWindowAndTray) {
return w->minimizeToTray();
} else if (cPlatform() == dbipMac || cPlatform() == dbipMacOld) {
w->hide();
w->closeWithoutDestroy();
w->updateIsActive(Global::OfflineBlurTimeout());
w->updateGlobalMenu();
return true;