Don't perform Compositor::setCompositeTimer during startup
The check whether Workspace is created is not sufficient. There's a time when Workspace is already created but Compositor not ready yet and where we can hit this code path.
This commit is contained in:
parent
b38999e0a9
commit
d24411b9ac
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ void Compositor::setCompositeTimer()
|
|||
{
|
||||
if (!hasScene()) // should not really happen, but there may be e.g. some damage events still pending
|
||||
return;
|
||||
if (!Workspace::self()) {
|
||||
if (m_starting || !Workspace::self()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue