feat(electron): remove x11 for wayland

This commit is contained in:
Johannes Millan 2025-06-27 22:59:18 +02:00
parent cd7460b718
commit 0a2965ae18

View file

@ -72,7 +72,6 @@ export const startApp = (): void => {
if (isWayland || forceX11) {
log('Applying X11/Wayland compatibility fixes');
// Force Ozone platform to X11
app.commandLine.appendSwitch('ozone-platform', 'x11');
@ -84,7 +83,7 @@ export const startApp = (): void => {
app.commandLine.appendSwitch('enable-features', 'UseSkiaRenderer');
// Set GDK backend to X11
process.env.GDK_BACKEND = 'x11';
// process.env.GDK_BACKEND = 'x11';
}
}