Fixed stuck window activity after a quick hide and show on X11.

Messages in an opened chat were not marked as read after the window
was shown back from the tray.
This commit is contained in:
kost
2026-08-29 01:32:40 +03:00
committed by John Preston
parent b44b99edcf
commit 361f61b178

View File

@@ -522,6 +522,9 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *evt) {
}
} else if (obj == this && t == QEvent::Hide) {
_exposed = false;
if (IsX11()) {
destroy();
}
} else if (obj == this && t == QEvent::ThemeChange) {
updateWindowIcon();
}