0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

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);