2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

improved word skip in qtextedit

This commit is contained in:
John Preston
2015-02-19 14:30:16 +03:00
parent e6b867da57
commit ac245b174d
5 changed files with 35 additions and 3 deletions

View File

@@ -1786,7 +1786,7 @@ bool psSkipAudioNotify() {
bool psSkipDesktopNotify() {
QUERY_USER_NOTIFICATION_STATE state;
if (useShellapi && SUCCEEDED(shQueryUserNotificationState(&state))) {
if (state == QUNS_PRESENTATION_MODE || state == QUNS_RUNNING_D3D_FULL_SCREEN || state == QUNS_BUSY) return true;
if (state == QUNS_PRESENTATION_MODE || state == QUNS_RUNNING_D3D_FULL_SCREEN/* || state == QUNS_BUSY*/) return true;
}
return false;
}