2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 07:56:03 +00:00

merged master

This commit is contained in:
John Preston
2015-01-21 13:21:39 +03:00
9 changed files with 196 additions and 55 deletions

View File

@@ -51,6 +51,8 @@ Copyright (c) 2014 John Preston, https://desktop.telegram.org
#pragma comment (lib,"Msimg32.lib")
namespace {
QStringList _initLogs;
bool frameless = true;
bool useDWM = false;
bool useTheme = false;
@@ -1778,6 +1780,14 @@ namespace {
}
}
QStringList psInitLogs() {
return _initLogs;
}
void psClearInitLogs() {
_initLogs = QStringList();
}
void psActivateProcess(uint64 pid) {
if (pid) {
::EnumWindows((WNDENUMPROC)_ActivateProcess, (LPARAM)&pid);