Skip to content

Commit 4fadef1

Browse files
committed
Merge branch 'master' of github.com:RangerMauve/dweb-browser
2 parents 7bdcd7b + 718e8ed commit 4fadef1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/main.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ app.commandLine.appendSwitch('enable-smooth-scrolling')
3535
app.commandLine.appendSwitch('enable-accelerated-video-decode')
3636
app.commandLine.appendSwitch('ignore-gpu-blacklist')
3737

38-
// Enable flags for using Wayland rendering
39-
// Based on this: https://blogs.igalia.com/adunaev/2020/11/13/hidpi-support-in-chromium-for-wayland/
40-
// TODO: Should we do something similar for x11?
41-
if (process.env.XDG_SESSION_TYPE === 'wayland') {
42-
app.commandLine.appendSwitch('enable-features', 'UseOzonePlatform')
43-
app.commandLine.appendSwitch('ozone-platform', 'wayland')
44-
}
45-
4638
const extensions = createExtensions({ partition: WEB_PARTITION, createWindow })
4739

4840
const windowManager = new WindowManager({

0 commit comments

Comments
 (0)