diff options
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | gui/src/main/index.ts | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e6c4bf2ab0..e0d6880534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,10 @@ Line wrap the file at 100 chars. Th #### Android - Show a system notification when the account time will soon run out. +### Fixed +#### Windows +- Fix window flickering by disabling window animations. + ## [2020.5-beta2] - 2020-06-16 ### Added diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index f6417bd89a..b09d83e292 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -186,9 +186,10 @@ class ApplicationMain { private autoConnectFallbackScheduler = new Scheduler(); public run() { - // Since electron's GPU blacklists are broken, GPU acceleration won't work on older distros - if (process.platform === 'linux') { - app.commandLine.appendSwitch('--disable-gpu'); + // Remove window animations to combat window flickering when opening window. Can be removed when + // this issue has been resolved: https://github.com/electron/electron/issues/12130 + if (process.platform === 'win32') { + app.commandLine.appendSwitch('wm-window-animations-disabled'); } this.overrideAppPaths(); |
