aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Settgast <csett86@web.de>2022-08-12 07:46:41 +0200
committerGitHub <noreply@github.com>2022-08-12 07:46:41 +0200
commit27f663a98f1331d5b9622c566c9516f8cd0983c9 (patch)
treea985ced7887e38a0dedcb6b3649bdc44b8d88297
parenteb95561b576d3420f98710e3fd315bb9858a24d0 (diff)
feat(wayland): enable titlebar when running under wayland (#766)
Use with --ozone-platform-hint=auto to enable Closes: #683
-rw-r--r--README.md8
-rw-r--r--main.js4
-rw-r--r--package-lock.json14
-rw-r--r--package.json2
4 files changed, 18 insertions, 10 deletions
diff --git a/README.md b/README.md
index e6b6baf..fbede67 100644
--- a/README.md
+++ b/README.md
@@ -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:
```
diff --git a/main.js b/main.js
index c738a93..ee35221 100644
--- a/main.js
+++ b/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');
diff --git a/package-lock.json b/package-lock.json
index 4d0ccf4..59edbe8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -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",
diff --git a/package.json b/package.json
index 78761a8..372feee 100644
--- a/package.json
+++ b/package.json
@@ -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",