summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-09-20 15:31:58 +0200
committerAndrej Mihajlov <and@mullvad.net>2018-09-26 18:01:52 +0200
commitbe73d1d03fb8dd8b039e8adf76702b283fedf994 (patch)
tree79aa08a3fd4ced5c7412dc15f4a9c1b4a064a0b5 /gui
parent11b2e450b222e77f294562ce768e8abdf4072f37 (diff)
downloadmullvadvpn-be73d1d03fb8dd8b039e8adf76702b283fedf994.tar.xz
mullvadvpn-be73d1d03fb8dd8b039e8adf76702b283fedf994.zip
Disable double click on tray icon
Diffstat (limited to 'gui')
-rw-r--r--gui/packages/desktop/src/main/index.js5
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');