Merge branch 'ksplash/ksplash-qml'

icc-effect-5.14.5
Marco Martin 2011-11-03 22:09:35 +01:00
commit 6698801cb5
3 changed files with 7 additions and 2 deletions

View File

@ -836,7 +836,10 @@ bool Unmanaged::shouldUnredirect() const
{
// the pixmap is needed for the login effect, a nicer solution would be the login effect increasing
// refcount for the window pixmap (which would prevent unredirect), avoiding this hack
if (resourceClass() == "ksplashx" || resourceClass() == "ksplashsimple")
if (resourceClass() == "ksplashx"
|| resourceClass() == "ksplashsimple"
|| resourceClass() == "ksplashqml"
)
return false;
// it must cover whole display or one xinerama screen, and be the topmost there
if (geometry() == workspace()->clientArea(FullArea, geometry().center(), workspace()->currentDesktop())

View File

@ -194,6 +194,7 @@ bool FadeEffect::isFadeWindow(EffectWindow* w)
e = w->data(WindowAddedGrabRole).value<void*>();
if (w->windowClass() == "ksplashx ksplashx"
|| w->windowClass() == "ksplashsimple ksplashsimple"
|| w->windowClass() == "qt-subapplication ksplashqml"
|| (e && e != this)) {
// see login effect
return false;

View File

@ -111,7 +111,8 @@ bool LoginEffect::isLoginSplash(EffectWindow* w)
// TODO there should be probably a better way (window type?)
// see also fade effect and composite.cpp
if (w->windowClass() == "ksplashx ksplashx"
|| w->windowClass() == "ksplashsimple ksplashsimple") {
|| w->windowClass() == "ksplashsimple ksplashsimple"
|| w->windowClass() == "qt-subapplication ksplashqml") {
return true;
}
return false;