summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorClaudio Cambra <developer@claudiocambra.com>2023-03-04 14:28:54 +0100
committerClaudio Cambra <developer@claudiocambra.com>2023-03-28 14:03:01 +0800
commitd9be12e0081f8738c2c407edc6e5f295734c667b (patch)
tree741b75be4e4885b885625056ca0b5e176c8872ba /gui/src
parentee8284d12474e76059ab6059b727a49779859c94 (diff)
downloadmullvadvpn-d9be12e0081f8738c2c407edc6e5f295734c667b.tar.xz
mullvadvpn-d9be12e0081f8738c2c407edc6e5f295734c667b.zip
Hide the main window in macOS mission control
When opening mission control with the tray window open, it appears in mission control, but clicking on it makes it immediately disappear when the animation is over. So let's just not show it in mission control
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/user-interface.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/src/main/user-interface.ts b/gui/src/main/user-interface.ts
index 78e88f0f14..a15dd69c63 100644
--- a/gui/src/main/user-interface.ts
+++ b/gui/src/main/user-interface.ts
@@ -259,6 +259,7 @@ export default class UserInterface implements WindowControllerDelegate {
minimizable: unpinnedWindow,
closable: unpinnedWindow,
transparent: !unpinnedWindow,
+ hiddenInMissionControl: !unpinnedWindow,
});
// make the window visible on all workspaces and prevent the icon from showing in the dock