mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-27 14:50:21 +03:00
fix 5.38 compatibility for wayland case
FIXED-IN:0.9.11 BUG:419657
This commit is contained in:
parent
40c034537f
commit
c6a83937fa
@ -688,9 +688,12 @@ bool WaylandInterface::isValidWindow(const KWayland::Client::PlasmaWindow *w) co
|
||||
//! the dodge views appropriately
|
||||
|
||||
bool hasSkipTaskbar = w->skipTaskbar();
|
||||
bool hasSkipSwitcher = w->skipSwitcher();
|
||||
bool isSkipped = hasSkipTaskbar;
|
||||
|
||||
bool isSkipped = hasSkipTaskbar && hasSkipSwitcher;
|
||||
#if KF5_VERSION_MINOR >= 47
|
||||
bool hasSkipSwitcher = w->skipSwitcher();
|
||||
isSkipped = hasSkipTaskbar && hasSkipSwitcher;
|
||||
#endif
|
||||
|
||||
return w->isValid() && !isPlasmaDesktop(w) && !isSkipped && !m_plasmaPanels.contains(w->internalId()) && !m_ignoredWindows.contains(w->internalId());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user