diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-09-20 15:31:58 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-09-26 18:01:52 +0200 |
| commit | be73d1d03fb8dd8b039e8adf76702b283fedf994 (patch) | |
| tree | 79aa08a3fd4ced5c7412dc15f4a9c1b4a064a0b5 | |
| parent | 11b2e450b222e77f294562ce768e8abdf4072f37 (diff) | |
| download | mullvadvpn-be73d1d03fb8dd8b039e8adf76702b283fedf994.tar.xz mullvadvpn-be73d1d03fb8dd8b039e8adf76702b283fedf994.zip | |
Disable double click on tray icon
| -rw-r--r-- | gui/packages/desktop/src/main/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/packages/desktop/src/main/index.js b/gui/packages/desktop/src/main/index.js index 46806ae767..22e3af217c 100644 --- a/gui/packages/desktop/src/main/index.js +++ b/gui/packages/desktop/src/main/index.js @@ -315,7 +315,7 @@ const ApplicationMain = { webPreferences: { // prevents renderer process code from not running when window is hidden backgroundThrottling: false, - // Enable experimental features + // enable blur effect blinkFeatures: 'CSSBackdropFilter', }, }; @@ -414,6 +414,9 @@ const ApplicationMain = { const tray = new Tray(nativeImage.createEmpty()); tray.setToolTip('Mullvad VPN'); + // disable double click on tray icon since it causes weird delay + tray.setIgnoreDoubleClickEvents(true); + // disable icon highlight on macOS if (process.platform === 'darwin') { tray.setHighlightMode('never'); |
