|
@@ -391,13 +391,13 @@ void KonvergoWindow::onVisibilityChanged(QWindow::Visibility visibility)
|
|
{
|
|
{
|
|
loadGeometry();
|
|
loadGeometry();
|
|
#ifdef Q_OS_MAC
|
|
#ifdef Q_OS_MAC
|
|
- QTimer::singleShot(0, [&] { OSXUtils::SetPresentationOptions(m_osxPresentationOptions); });
|
|
|
|
|
|
+ QTimer::singleShot(3 * 1000, [&] { OSXUtils::SetPresentationOptions(m_osxPresentationOptions); });
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|
|
else if (visibility == QWindow::FullScreen)
|
|
else if (visibility == QWindow::FullScreen)
|
|
{
|
|
{
|
|
#ifdef Q_OS_MAC
|
|
#ifdef Q_OS_MAC
|
|
- QTimer::singleShot(0, [&] {
|
|
|
|
|
|
+ QTimer::singleShot(3 * 1000, [&] {
|
|
OSXUtils::SetPresentationOptions(m_osxPresentationOptions | OSXUtils::GetPresentationOptionsForFullscreen(!m_webDesktopMode));
|
|
OSXUtils::SetPresentationOptions(m_osxPresentationOptions | OSXUtils::GetPresentationOptionsForFullscreen(!m_webDesktopMode));
|
|
});
|
|
});
|
|
#endif
|
|
#endif
|