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:
parent
2df242444c
commit
7759fff9ec
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user