Commit 2240dcc
authored
fix: allow the user to enable Wayland (#146)
Forcing DISABLE_WAYLAND=1 makes the desktop command-chain hide the Wayland
socket. If you then call mattermost-desktop with --ozone-platform-hint=auto
or with env ELECTRON_OZONE_PLATFORM_HINT=wayland, chromium will crash instead
of falling back to x11.
We can default to x11 while still allowing users to opt-in to Wayland by simply
not specifying any additional environment variables.
Closes: #1451 parent 02b0dd7 commit 2240dcc
2 files changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
0 commit comments