From cbee8d0f592e8b851fc434b3f859c3a09b717118 Mon Sep 17 00:00:00 2001 From: Cedric Staniewski Date: Fri, 2 Feb 2024 21:42:55 +0100 Subject: [PATCH] Fix cursor scaling on wayland See https://github.com/electron/electron/issues/19810 --- com.visualstudio.code.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/com.visualstudio.code.yaml b/com.visualstudio.code.yaml index a5b8264..4b528ef 100644 --- a/com.visualstudio.code.yaml +++ b/com.visualstudio.code.yaml @@ -21,6 +21,8 @@ finish-args: - --env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc - --env=LD_LIBRARY_PATH=/app/lib - --env=ZYPAK_SPAWN_LATEST_ON_REEXEC=0 + # required to fix cursor scaling on wayland + - --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons - --system-talk-name=org.freedesktop.login1 - --talk-name=org.freedesktop.Notifications - --talk-name=org.freedesktop.secrets