Commit 13c5f443 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix cannot put monitor in fullscreen with mirrored screens

parent a6c365a3
......@@ -953,10 +953,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