potential fix for screenoverlapping

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent 275096f1f5
commit 45d392219d
  1. 4
      src/core/UBDisplayManager.cpp

@ -225,12 +225,12 @@ void UBDisplayManager::positionScreens()
if(mDesktopWidget && mControlScreenIndex > -1) if(mDesktopWidget && mControlScreenIndex > -1)
{ {
mDesktopWidget->hide(); mDesktopWidget->hide();
mDesktopWidget->setGeometry(mDesktop->availableGeometry(mDesktopWidget)); mDesktopWidget->setGeometry(mDesktop->screenGeometry(mControlScreenIndex));
} }
if (mControlWidget && mControlScreenIndex > -1) if (mControlWidget && mControlScreenIndex > -1)
{ {
mControlWidget->hide(); mControlWidget->hide();
mControlWidget->setGeometry(mDesktop->availableGeometry(mControlWidget)); mControlWidget->setGeometry(mDesktop->screenGeometry(mControlScreenIndex));
UBPlatformUtils::showFullScreen(mControlWidget); UBPlatformUtils::showFullScreen(mControlWidget);
} }

Loading…
Cancel
Save