diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/index.ts | 7 |
1 files changed, 4 insertions, 3 deletions
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(); |
