effects/slide: apply slide setting for docks to applet panels

Otherwise they detach from panels, which looks weird
This commit is contained in:
Xaver Hugl 2022-08-15 22:05:35 +02:00 committed by Vlad Zahorodnii
parent 835dc7c818
commit 11ad5fea9a

View file

@ -215,7 +215,7 @@ QPoint SlideEffect::getDrawCoords(QPointF pos, EffectScreen *screen)
bool SlideEffect::isTranslated(const EffectWindow *w) const
{
if (w->isOnAllDesktops()) {
if (w->isDock()) {
if (w->isDock() || w->isAppletPopup()) {
return m_slideDocks;
}
if (w->isDesktop()) {