mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-04-26 22:24:50 +02:00
feat(wayland): enable titlebar when running under wayland (#766)
Use with --ozone-platform-hint=auto to enable Closes: #683
This commit is contained in:
parent
eb95561b57
commit
27f663a98f
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
4
main.js
4
main.js
|
@ -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
14
package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue