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:
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…
Reference in New Issue
Block a user