Commit 25400d0d authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Xaver Hugl
Browse files

inputpanel: Do not start a display process while shutting the panel down

The panel is getting destroyed and shouldn't be shown anymore.


(cherry picked from commit 95742bf2)
parent 1bfa9a9d
Pipeline #236474 passed with stage
in 12 minutes and 26 seconds
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment