From 95742bf2e5607976e9447ae74dbc9d253324e73d Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Fri, 23 Sep 2022 16:24:55 +0200 Subject: [PATCH] inputpanel: Do not start a display process while shutting the panel down The panel is getting destroyed and shouldn't be shown anymore. --- src/inputpanelv1window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/inputpanelv1window.cpp b/src/inputpanelv1window.cpp index c8e8d4bd1d..0904fd1ab4 100644 --- a/src/inputpanelv1window.cpp +++ b/src/inputpanelv1window.cpp @@ -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();