1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

wayland:ignore all popups

This commit is contained in:
Michail Vourlakos 2020-03-25 15:03:19 +02:00
parent 2df242444c
commit 7759fff9ec

View File

@ -687,7 +687,12 @@ bool WaylandInterface::isValidWindow(const KWayland::Client::PlasmaWindow *w) co
//! e.g. widgets explorer, Activities etc. that are not used to hide
//! the dodge views appropriately
return w->isValid() && !isPlasmaDesktop(w) && !m_plasmaPanels.contains(w->internalId()) && !m_ignoredWindows.contains(w->internalId());
bool hasSkipTaskbar = w->skipTaskbar();
bool hasSkipSwitcher = w->skipSwitcher();
bool isSkipped = hasSkipTaskbar && hasSkipSwitcher;
return w->isValid() && !isPlasmaDesktop(w) && !isSkipped && !m_plasmaPanels.contains(w->internalId()) && !m_ignoredWindows.contains(w->internalId());
}
void WaylandInterface::updateWindow()