Commit 3594e8a2 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 8469dfac
Pipeline #159558 passed with stage
in 10 minutes and 37 seconds
......@@ -960,6 +960,7 @@ void Monitor::slotSwitchFullScreen(bool minimizeOnly)
m_glWidget->showNormal();
auto *lay = static_cast<QVBoxLayout *>(layout());
lay->insertWidget(0, m_glWidget, 10);
activateWindow();
setFocus();
}
}
......
Supports Markdown
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