Skip to content

Commit

Permalink
Merge pull request #6027 from ysc3839/fix-win7-crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny authored Mar 26, 2022
2 parents 69ddd2f + aedad13 commit 018355c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class Window {
console.error('Failed to set window blur', error)
}
} else {
DwmEnableBlurBehindWindow(this.window, enabled)
DwmEnableBlurBehindWindow(this.window.getNativeWindowHandle(), enabled)
}
} else if (process.platform === 'linux') {
this.window.setBackgroundColor(enabled ? '#00000000' : '#131d27')
Expand Down

0 comments on commit 018355c

Please sign in to comment.