Enable wayland for electron apps

Especially needed for Flatpak, as those don't use the electron flags
    config file obviously
This commit is contained in:
exu 2025-01-06 08:23:41 +01:00
parent 636635c798
commit aa5406be6f

View File

@ -10,3 +10,5 @@ SDL_VIDEODRIVER='wayland,x11'
MOZ_ENABLE_WAYLAND=1 MOZ_ENABLE_WAYLAND=1
# keyboard layout for gamescope # keyboard layout for gamescope
XKB_DEFAULT_LAYOUT=ch XKB_DEFAULT_LAYOUT=ch
# wayland for electron
ELECTRON_OZONE_PLATFORM_HINT=auto