KWin effect support for ksplashqml
This commit is contained in:
parent
3db49d9882
commit
0f7f8a833e
3 changed files with 7 additions and 2 deletions
|
@ -996,7 +996,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())
|
||||
|
|
|
@ -192,6 +192,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;
|
||||
|
|
|
@ -90,7 +90,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 a new issue