UI: Fix bug when loading saved projectors

This fixes a bug on Linux where fullscreen projectors wouldn't
quite be fullscreen when loaded on start.
This commit is contained in:
Clayton Groeneveld 2018-10-22 00:32:39 -05:00
parent 047e586eaf
commit 271322bf65

View file

@ -6108,7 +6108,7 @@ void OBSBasic::OpenSavedProjectors()
}
}
if (projector && !info->geometry.empty()) {
if (projector && !info->geometry.empty() && info->monitor < 0) {
QByteArray byteArray = QByteArray::fromBase64(
QByteArray(info->geometry.c_str()));
projector->restoreGeometry(byteArray);