about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/slack
diff options
context:
space:
mode:
authormaxine <35892750+maxeaubrey@users.noreply.github.com>2022-10-02 01:32:08 +0200
committerGitHub <noreply@github.com>2022-10-02 01:32:08 +0200
commitc44d41af6a77b61fd627f6386e018c8ec2c99d16 (patch)
treee8d6ad26c722c39821bda8e92cfedcba53103990 /pkgs/applications/networking/instant-messengers/slack
parent5e2ce525446f84dfc8b117bc814e6a86ed5bfc53 (diff)
parentaeaeca819d211676ab90ee33dbf09ef097a317da (diff)
Merge pull request #192659 from PaulGrandperrin/vscode-fix-wayland
electron apps: fix wayland window decorations
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/slack')
-rw-r--r--pkgs/applications/networking/instant-messengers/slack/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix
index afa337c7636f3..ec142222a98c3 100644
--- a/pkgs/applications/networking/instant-messengers/slack/default.nix
+++ b/pkgs/applications/networking/instant-messengers/slack/default.nix
@@ -170,7 +170,7 @@ let
       makeWrapper $out/lib/slack/slack $out/bin/slack \
         --prefix XDG_DATA_DIRS : $GSETTINGS_SCHEMAS_PATH \
         --suffix PATH : ${lib.makeBinPath [xdg-utils]} \
-        --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}}"
 
       # Fix the desktop link
       substituteInPlace $out/share/applications/slack.desktop \