mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01:00
proton: Add PROTON_NO_XIM runtime config option
This commit is contained in:
parent
5504754ce9
commit
0e4675f4d2
2 changed files with 8 additions and 0 deletions
7
proton
7
proton
|
|
@ -712,6 +712,9 @@ class Session:
|
|||
#default wine-mono override for FNA games
|
||||
self.env.setdefault("WINE_MONO_OVERRIDES", "Microsoft.Xna.Framework.*,Gac=n")
|
||||
|
||||
#disable XIM support until libx11 >= 1.7 is widespread
|
||||
self.env.setdefault("WINE_ALLOW_XIM", "0")
|
||||
|
||||
if "wined3d11" in self.compat_config:
|
||||
self.compat_config.add("wined3d")
|
||||
|
||||
|
|
@ -726,12 +729,16 @@ class Session:
|
|||
self.check_environment("PROTON_NO_WRITE_WATCH", "nowritewatch")
|
||||
self.check_environment("PROTON_HIDE_NVIDIA_GPU", "hidenvgpu")
|
||||
self.check_environment("PROTON_SET_GAME_DRIVE", "gamedrive")
|
||||
self.check_environment("PROTON_NO_XIM", "noxim")
|
||||
|
||||
if "noesync" in self.compat_config:
|
||||
self.env.pop("WINEESYNC", "")
|
||||
else:
|
||||
self.env["WINEESYNC"] = "1"
|
||||
|
||||
if not "noxim" in self.compat_config:
|
||||
self.env.pop("WINE_ALLOW_XIM")
|
||||
|
||||
if "nofsync" in self.compat_config:
|
||||
self.env.pop("WINEFSYNC", "")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue