summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/element
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/element
parent5e2ce525446f84dfc8b117bc814e6a86ed5bfc53 (diff)
parentaeaeca819d211676ab90ee33dbf09ef097a317da (diff)
downloadnixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar.gz
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar.bz2
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar.lz
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar.xz
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.tar.zst
nixpkgs-c44d41af6a77b61fd627f6386e018c8ec2c99d16.zip
Merge pull request #192659 from PaulGrandperrin/vscode-fix-wayland
electron apps: fix wayland window decorations
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/element')
-rw-r--r--pkgs/applications/networking/instant-messengers/element/element-desktop.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix
index 261e9e7986e..e192e33c496 100644
--- a/pkgs/applications/networking/instant-messengers/element/element-desktop.nix
+++ b/pkgs/applications/networking/instant-messengers/element/element-desktop.nix
@@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
     makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \
       --set LD_PRELOAD ${sqlcipher}/lib/libsqlcipher.so \
       --add-flags "$out/share/element/electron" \
-      --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}}"
 
     runHook postInstall
   '';