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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user