|
@@ -278,7 +278,10 @@ void KonvergoWindow::focusOutEvent(QFocusEvent * ev)
|
|
|
// Do this to workaround DWM compositor bugs with fullscreened OpenGL applications.
|
|
|
// The compositor will not properly redraw anything when focusing other windows.
|
|
|
if (visibility() == QWindow::FullScreen && SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "minimizeOnDefocus").toBool())
|
|
|
+ {
|
|
|
+ QLOG_DEBUG() << "minimizing window";
|
|
|
showMinimized();
|
|
|
+ }
|
|
|
#endif
|
|
|
}
|
|
|
|