[wayland] Reset ShellClient::m_unmapped before calling setReadyForPainting
m_unmapped determines whether the ShellClient wantsInput. This is used by the ScriptingModel to check whether a ShellClient should be included. It gets triggered by windowShonw signal called from setReadyFromPainting. If m_unmapped is still true at that point the ScriptingModel doesn't include it.
This commit is contained in:
parent
93c88aa446
commit
ad80e31e6a
1 changed files with 1 additions and 1 deletions
|
@ -188,9 +188,9 @@ void ShellClient::addDamage(const QRegion &damage)
|
|||
}
|
||||
setGeometry(QRect(position, m_clientSize));
|
||||
}
|
||||
m_unmapped = false;
|
||||
setDepth(m_shellSurface->surface()->buffer()->hasAlphaChannel() ? 32 : 24);
|
||||
setReadyForPainting();
|
||||
m_unmapped = false;
|
||||
Toplevel::addDamage(damage);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue