Commit 17783e08 authored by Gliczy's avatar Gliczy
Browse files

slade: set GDK_BACKEND to x11

Slade has major issues when running in native Wayland:
- The 3D view in the map editor is "spinning", making it unusable.
- The UI will freeze when trying to preview or edit an asset.
- Some crashes
parent ec1754f8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -62,6 +62,12 @@ stdenv.mkDerivation rec {

  env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";

  preFixup = ''
    gappsWrapperArgs+=(
      --prefix GDK_BACKEND : x11
    )
  '';

  meta = with lib; {
    description = "Doom editor";
    homepage = "http://slade.mancubus.net/";