code-cursor: use chromium's inbuilt x11wayland renderer by defaullt

This commit is contained in:
Sarah Clark
2025-04-27 12:32:20 -07:00
parent acd99c923c
commit 8ceaa4acec
+1 -1
View File
@@ -162,7 +162,7 @@ stdenvNoCC.mkDerivation {
substituteInPlace $out/share/applications/cursor.desktop --replace-fail "/usr/share/cursor/cursor" "$out/bin/cursor"
wrapProgram $out/bin/cursor \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}} --no-update"
''}
${lib.optionalString hostPlatform.isDarwin ''