1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00

fix 5.38 compatibility for wayland case

This commit is contained in:
Michail Vourlakos 2020-04-05 10:42:00 +03:00
parent ded6ef04e5
commit 778dcc3e5a

View File

@ -791,8 +791,12 @@ bool WaylandInterface::isAcceptableWindow(const KWayland::Client::PlasmaWindow *
//! Window Checks
bool hasSkipTaskbar = w->skipTaskbar();
bool isSkipped = hasSkipTaskbar;
#if KF5_VERSION_MINOR >= 47
bool hasSkipSwitcher = w->skipSwitcher();
bool isSkipped = hasSkipTaskbar && hasSkipSwitcher;
isSkipped = hasSkipTaskbar && hasSkipSwitcher;
#endif
if (isSkipped
&& ((w->appId() == QLatin1String("yakuake")