mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Fix notifications hiding on Linux.
Regression was introduced in 3372dfcd3e
.
Only when platform-specific code can give us the global time of the
last user input event we rely on idle time for notifications hiding.
Fixes #5791.
This commit is contained in:
@@ -193,10 +193,6 @@ void psDeleteDir(const QString &dir) {
|
||||
_removeDirectory(dir);
|
||||
}
|
||||
|
||||
bool psIdleSupported() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void psActivateProcess(uint64 pid) {
|
||||
// objc_activateProgram();
|
||||
}
|
||||
@@ -435,10 +431,6 @@ bool OpenSystemSettings(SystemSettingsType type) {
|
||||
return true;
|
||||
}
|
||||
|
||||
crl::time LastUserInputTime() {
|
||||
return 0LL;
|
||||
}
|
||||
|
||||
namespace ThirdParty {
|
||||
|
||||
void start() {
|
||||
|
Reference in New Issue
Block a user