mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't use window title for IPC.
This commit is contained in:
@@ -30,6 +30,17 @@ inline bool SkipTaskbarSupported() {
|
||||
inline void InstallLauncher(bool force) {
|
||||
}
|
||||
|
||||
inline void ActivateThisProcess() {
|
||||
}
|
||||
|
||||
// 1 - secondary, 2 - primary.
|
||||
void SetWindowPriority(not_null<QWidget*> window, uint32 priority);
|
||||
|
||||
[[nodiscard]] uint64 ActivationWindowId(not_null<QWidget*> window);
|
||||
|
||||
// Activate window with windowId (if found) or the largest priority.
|
||||
void ActivateOtherProcess(uint64 processId, uint64 windowId);
|
||||
|
||||
namespace ThirdParty {
|
||||
|
||||
void start();
|
||||
@@ -43,7 +54,6 @@ inline void finish() {
|
||||
inline void psCheckLocalSocket(const QString &) {
|
||||
}
|
||||
|
||||
void psActivateProcess(uint64 pid = 0);
|
||||
QString psAppDataPath();
|
||||
QString psAppDataPathOld();
|
||||
void psSendToMenu(bool send, bool silent = false);
|
||||
|
Reference in New Issue
Block a user