feat(wayland): enable titlebar when running under wayland (#766)

Use with --ozone-platform-hint=auto to enable

Closes: #683
This commit is contained in:
Christoph Settgast 2022-08-12 07:46:41 +02:00 committed by GitHub
parent eb95561b57
commit 27f663a98f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 10 deletions

View file

@ -174,6 +174,14 @@ To fix this, install libfuse2 as follows:
sudo apt install libfuse2
```
Under wayland, experimental native wayland support can be enabled with the command-line switch `--ozone-platform-hint` set to `auto`:
```
./jitsi-meet-x86_64.AppImage --ozone-platform-hint=auto
```
Note that screensharing is currently not supported under wayland, eg. the permissions prompt may loop endlessly.
In case you experience a blank page after jitsi server upgrades, try removing the local cache files:
```

View file

@ -40,9 +40,9 @@ app.commandLine.appendSwitch('disable-features', 'IOSurfaceCapturer');
// Enable Opus RED field trial.
app.commandLine.appendSwitch('force-fieldtrials', 'WebRTC-Audio-Red-For-Opus/Enabled/');
// Enable optional PipeWire support.
// Wayland: Enable optional PipeWire and window decorations support.
if (!app.commandLine.hasSwitch('enable-features')) {
app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer');
app.commandLine.appendSwitch('enable-features', 'WebRTCPipeWireCapturer,WaylandWindowDecorations');
}
autoUpdater.logger = require('electron-log');

14
package-lock.json generated
View file

@ -39,7 +39,7 @@
"babel-loader": "^8.2.3",
"concurrently": "5.1.0",
"css-loader": "^6.7.1",
"electron": "19.0.8",
"electron": "19.0.12",
"electron-builder": "23.1.0",
"electron-context-menu": "^2.5.0",
"electron-is-dev": "^1.2.0",
@ -6380,9 +6380,9 @@
}
},
"node_modules/electron": {
"version": "19.0.8",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.0.8.tgz",
"integrity": "sha512-OWK3P/NbDFfBUv+wbYv1/OV4jehY5DQPT7n1maQJfN9hsnrWTMktXS/bmS05eSUAjNAzHmKPKfiKH2c1Yr7nGw==",
"version": "19.0.12",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.0.12.tgz",
"integrity": "sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw==",
"dev": true,
"hasInstallScript": true,
"dependencies": {
@ -19765,9 +19765,9 @@
}
},
"electron": {
"version": "19.0.8",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.0.8.tgz",
"integrity": "sha512-OWK3P/NbDFfBUv+wbYv1/OV4jehY5DQPT7n1maQJfN9hsnrWTMktXS/bmS05eSUAjNAzHmKPKfiKH2c1Yr7nGw==",
"version": "19.0.12",
"resolved": "https://registry.npmjs.org/electron/-/electron-19.0.12.tgz",
"integrity": "sha512-GOvG0t2NCeJYIfmC3g/dnEAQ71k3nQDbRVqQhpi2YbsYMury0asGJwqnVAv2uZQEwCwSx4XOwOQARTFEG/msWw==",
"dev": true,
"requires": {
"@electron/get": "^1.14.1",

View file

@ -159,7 +159,7 @@
"babel-loader": "^8.2.3",
"concurrently": "5.1.0",
"css-loader": "^6.7.1",
"electron": "19.0.8",
"electron": "19.0.12",
"electron-builder": "23.1.0",
"electron-context-menu": "^2.5.0",
"electron-is-dev": "^1.2.0",