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

Use global Fn+F shortcut for toggle fullscreen on macOS.

This commit is contained in:
John Preston
2023-03-15 16:33:55 +04:00
parent eae2788f73
commit 152661dcea
11 changed files with 60 additions and 6 deletions

View File

@@ -128,6 +128,10 @@ void Panel::minimize() {
window()->setWindowState(window()->windowState() | Qt::WindowMinimized);
}
void Panel::toggleFullScreen() {
toggleFullScreen(!window()->isFullScreen());
}
void Panel::replaceCall(not_null<Call*> call) {
reinitWithCall(call);
updateControlsGeometry();