forked from mirrors/nixpkgs
Merge pull request #133398 from ttuegel/zoom-scaling
zoom-us: Do not apply screen scaling twice
This commit is contained in:
commit
d9e26022cb
|
@ -101,12 +101,13 @@ stdenv.mkDerivation rec {
|
|||
rm $out/bin/zoom
|
||||
# Zoom expects "zopen" executable (needed for web login) to be present in CWD. Or does it expect
|
||||
# everybody runs Zoom only after cd to Zoom package directory? Anyway, :facepalm:
|
||||
# Also clear Qt environment variables to prevent
|
||||
# zoom from tripping over "foreign" Qt ressources.
|
||||
# Clear Qt paths to prevent tripping over "foreign" Qt resources.
|
||||
# Clear Qt screen scaling settings to prevent over-scaling.
|
||||
makeWrapper $out/opt/zoom/ZoomLauncher $out/bin/zoom \
|
||||
--run "cd $out/opt/zoom" \
|
||||
--unset QML2_IMPORT_PATH \
|
||||
--unset QT_PLUGIN_PATH \
|
||||
--unset QT_SCREEN_SCALE_FACTORS \
|
||||
--prefix PATH : ${lib.makeBinPath [ coreutils glib.dev pciutils procps util-linux ]} \
|
||||
--prefix LD_LIBRARY_PATH ":" ${libs}
|
||||
|
||||
|
|
Loading…
Reference in a new issue