Qt: Work around game-list-disappear issue in Wayland
This commit is contained in:
parent
7a30c9ea43
commit
373297f35b
|
@ -294,7 +294,7 @@ bool MainWindow::updateDisplay(bool fullscreen, bool render_to_main, bool surfac
|
||||||
|
|
||||||
g_host_display->DestroyRenderSurface();
|
g_host_display->DestroyRenderSurface();
|
||||||
|
|
||||||
destroyDisplayWidget(surfaceless);
|
destroyDisplayWidget(surfaceless || fullscreen);
|
||||||
|
|
||||||
// if we're going to surfaceless, we're done here
|
// if we're going to surfaceless, we're done here
|
||||||
if (surfaceless)
|
if (surfaceless)
|
||||||
|
@ -1804,7 +1804,7 @@ void MainWindow::switchToGameListView()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (s_system_valid)
|
if (m_display_created)
|
||||||
{
|
{
|
||||||
m_was_paused_on_surface_loss = s_system_paused;
|
m_was_paused_on_surface_loss = s_system_paused;
|
||||||
if (!s_system_paused)
|
if (!s_system_paused)
|
||||||
|
|
Loading…
Reference in New Issue