mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt: Fix bug where render window is not focused leaving fullscreen
This commit is contained in:
parent
20b60e0f01
commit
f2d5ce74df
|
@ -183,7 +183,10 @@ QWidget* QtHostInterface::createDisplayWidget(QWidget* parent)
|
|||
|
||||
m_display.release();
|
||||
m_display = std::unique_ptr<HostDisplay>(m_display_window->getHostDisplayInterface());
|
||||
return QWidget::createWindowContainer(m_display_window, parent);
|
||||
|
||||
QWidget* widget = QWidget::createWindowContainer(m_display_window, parent);
|
||||
widget->setFocusPolicy(Qt::StrongFocus);
|
||||
return widget;
|
||||
}
|
||||
|
||||
bool QtHostInterface::createDisplayDeviceContext()
|
||||
|
|
Loading…
Reference in a new issue