mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 10:50:30 +03:00
wayland:ignore all popups
This commit is contained in:
parent
efaaf70297
commit
a651d9f731
@ -760,7 +760,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() && !m_plasmaIgnoredWindows.contains(w->internalId()) && !m_ignoredWindows.contains(w->internalId());
|
||||
bool hasSkipTaskbar = w->skipTaskbar();
|
||||
bool hasSkipSwitcher = w->skipSwitcher();
|
||||
|
||||
bool isSkipped = hasSkipTaskbar && hasSkipSwitcher;
|
||||
|
||||
return w->isValid() && !isSkipped && !m_plasmaIgnoredWindows.contains(w->internalId()) && !m_ignoredWindows.contains(w->internalId());
|
||||
}
|
||||
|
||||
void WaylandInterface::updateWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user