fix 5.38 compatibility for wayland case

pull/13/head
Michail Vourlakos 5 years ago
parent ded6ef04e5
commit 778dcc3e5a

@ -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")

Loading…
Cancel
Save