inputpanel: Do not start a display process while shutting the panel down
The panel is getting destroyed and shouldn't be shown anymore.
This commit is contained in:
parent
a056ef3f56
commit
95742bf2e5
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ void InputPanelV1Window::showTopLevel(OutputInterface *output, InputPanelSurface
|
|||
void InputPanelV1Window::allow()
|
||||
{
|
||||
m_allowed = true;
|
||||
if (m_shouldBeShown && surface()->isMapped()) {
|
||||
if (m_shouldBeShown && !isZombie() && surface()->isMapped()) {
|
||||
setReadyForPainting();
|
||||
reposition();
|
||||
showClient();
|
||||
|
@ -79,7 +79,7 @@ void InputPanelV1Window::allow()
|
|||
void InputPanelV1Window::show()
|
||||
{
|
||||
m_shouldBeShown = true;
|
||||
if (m_allowed && surface()->isMapped()) {
|
||||
if (m_allowed && !isZombie() && surface()->isMapped()) {
|
||||
setReadyForPainting();
|
||||
reposition();
|
||||
showClient();
|
||||
|
|
Loading…
Reference in a new issue