Merge branch 'ksplash/ksplash-qml'
commit
6698801cb5
|
@ -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())
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue