fix crash on nvidia gpu when running under wayland
This commit is contained in:
parent
94819e6f16
commit
60955db8d1
1 changed files with 3 additions and 0 deletions
|
@ -452,6 +452,9 @@ export async function createWindows() {
|
|||
|
||||
mainWin.webContents.on("did-finish-load", () => {
|
||||
splash.destroy();
|
||||
// Doing this works around the gpu process crash when showing a hidden window on wayland with nvidia
|
||||
mainWin!.show();
|
||||
mainWin!.hide();
|
||||
mainWin!.show();
|
||||
|
||||
if (Settings.store.maximized && !isDeckGameMode) {
|
||||
|
|
Reference in a new issue