Skip to content

Commit

Permalink
feat(wayland): enable titlebar when running under wayland (#766)
Browse files Browse the repository at this point in the history
Use with --ozone-platform-hint=auto to enable

Closes: #683
  • Loading branch information
csett86 authored Aug 12, 2022
1 parent eb95561 commit 27f663a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 27f663a

Please sign in to comment.