diff options
author | Paul Grandperrin <paul.grandperrin@gmail.com> | 2022-09-23 21:19:37 +0200 |
---|---|---|
committer | Paul Grandperrin <paul.grandperrin@gmail.com> | 2022-09-28 15:56:55 +0200 |
commit | aeaeca819d211676ab90ee33dbf09ef097a317da (patch) | |
tree | 32d7e73a5d7f1c91959b0cf768aecdcced90a362 /pkgs/applications/networking/instant-messengers/discord | |
parent | 05914af3e0b0a358abf23bb4d80853acc4861b07 (diff) |
NIXOS_OZONE_WL: fix wayland window decorations
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/linux.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix index 846ac82d172b..ec34959a2909 100644 --- a/pkgs/applications/networking/instant-messengers/discord/linux.nix +++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix @@ -83,7 +83,7 @@ stdenv.mkDerivation rec { wrapProgramShell $out/opt/${binaryName}/${binaryName} \ "''${gappsWrapperArgs[@]}" \ - --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ --prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}/" \ --prefix LD_LIBRARY_PATH : ${libPath}:$out/opt/${binaryName} |