Commit 1ce6428a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix cannot put monitor in fullscreen with mirrored screens

parent 4c99375c
Pipeline #180323 passed with stage
in 7 minutes and 29 seconds
......@@ -955,10 +955,14 @@ void Monitor::slotSwitchFullScreen(bool minimizeOnly)
m_glWidget->setParent(nullptr);
m_glWidget->move(screenRect.topLeft());
m_glWidget->resize(screenRect.size());
screenFound = true;
break;
}
}
}
if (!screenFound) {
m_glWidget->setParent(nullptr);
}
} else {
m_glWidget->setParent(nullptr);
}
......
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