Stop emitting windowShown signal when XdgToplevelWindow is unminimized

Minimized state has no connection to the hidden state.
This commit is contained in:
Vlad Zahorodnii 2024-01-15 23:12:44 +02:00
parent 66a491bda6
commit 3f2b49be5d

View file

@ -713,8 +713,6 @@ void XdgToplevelWindow::doMinimize()
if (m_isInitialized) {
if (isMinimized()) {
workspace()->windowHidden(this);
} else {
Q_EMIT windowShown(this);
}
}
workspace()->updateMinimizedOfTransients(this);