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

words selection fixed, wide mode starts from 720px conversation width, hiding tooltips on app state changed to inactive, 0.9.23 dev version

This commit is contained in:
John Preston
2016-02-15 14:46:01 +03:00
parent bb30b71b86
commit 4081af12dd
4 changed files with 14 additions and 5 deletions

View File

@@ -926,6 +926,9 @@ void AppClass::checkLocalTime() {
void AppClass::onAppStateChanged(Qt::ApplicationState state) {
checkLocalTime();
_window->updateIsActive((state == Qt::ApplicationActive) ? cOnlineFocusTimeout() : cOfflineBlurTimeout());
if (state != Qt::ApplicationActive) {
PopupTooltip::Hide();
}
}
void AppClass::killDownloadSessions() {