mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
mac tray icon/menu support improved, custom context menu started
This commit is contained in:
@@ -219,7 +219,7 @@ void PsMainWindow::psStateChanged(Qt::WindowState state) {
|
||||
psUpdateSysMenu(state);
|
||||
psUpdateMargins();
|
||||
// if (state == Qt::WindowMinimized && GetWindowLong(ps_hWnd, GWL_HWNDPARENT)) {
|
||||
// minimizeToTray();
|
||||
// App::wnd()->minimizeToTray();
|
||||
// }
|
||||
psSavePosition(state);
|
||||
}
|
||||
|
Reference in New Issue
Block a user