Changeset View
Changeset View
Standalone View
Standalone View
effects/cube/cubeslide.cpp
Context not available. | |||||
536 | return !dontSlidePanels; | 536 | return !dontSlidePanels; | ||
---|---|---|---|---|---|
537 | } | 537 | } | ||
538 | if (w->isOnAllDesktops()) { | 538 | if (w->isOnAllDesktops()) { | ||
539 | if (!w->isManaged()) { | 539 | if (w->isDesktop()) { | ||
540 | return true; | ||||
541 | } | ||||
542 | // XXX: We want to always animate OSDs, but only animate ordinary windows if dontSlideStickyWindows is checked | ||||
543 | // Apparently, acceptsFocus() is the only way how OSD differs from ordinary window on Wayland | ||||
544 | // For X11 the window is marked as special. So it should work | ||||
545 | // (borrowed from FlipSwitch::isSelectableWindow()) | ||||
546 | if (w->isSpecialWindow()) { | ||||
540 | return false; | 547 | return false; | ||
541 | } | 548 | } | ||
542 | return !dontSlideStickyWindows; | 549 | if (w->acceptsFocus()) { | ||
550 | return !dontSlideStickyWindows; | ||||
551 | } | ||||
552 | return false; | ||||
543 | } | 553 | } | ||
544 | return true; | 554 | return true; | ||
545 | } | 555 | } | ||
Context not available. |