Don't notify ksplash in our wayland session
ClosedPublic

Authored by davidedmundson on Sep 7 2019, 12:01 PM.

Details

Summary

KSplash doesn't expect a kwin notification on wayland as kwin is started
before ksplash.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Sep 7 2019, 12:01 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 7 2019, 12:01 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
davidedmundson requested review of this revision.Sep 7 2019, 12:01 PM
zzag added a subscriber: zzag.Sep 7 2019, 12:35 PM

notifyKSplash method needs to be moved to ApplicationX11 class.

+1
in splashapp.cpp

if (KWindowSystem::isPlatformWayland()) {
    setStage(QStringLiteral("wm"));
}

I don't think it's needed to move it. But done anyway.

zzag accepted this revision.Sep 7 2019, 8:49 PM
This revision is now accepted and ready to land.Sep 7 2019, 8:49 PM
This revision was automatically updated to reflect the committed changes.