Commit 7e0067a7 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix app focus lost on Windows when exiting monitor fullscreen

Related to #1390
parent a4682ad9
Pipeline #160956 passed with stage
in 7 minutes and 30 seconds
......@@ -962,6 +962,7 @@ void Monitor::slotSwitchFullScreen(bool minimizeOnly)
m_glWidget->showNormal();
auto *lay = static_cast<QVBoxLayout *>(layout());
lay->insertWidget(0, m_glWidget, 10);
activateWindow();
setFocus();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment