Let qt choose which driver to use

This commit is contained in:
MaeIsBad 2023-04-28 13:00:12 +02:00
parent 4c80362d2e
commit 816d8a5762

View file

@ -42,9 +42,9 @@ in
systemdIntegration = true;
extraSessionCommands = ''
#export SDL_VIDEODRIVER=wayland
# needs qt5.qtwayland in systemPackages
export QT_QPA_PLATFORM=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
export QT_WAYLAND_FORCE_DPI=physical
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1