diff options
author | sinanmohd <pcmsinan@gmail.com> | 2023-02-25 07:41:26 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-04-07 14:57:56 +0530 |
commit | 4d3613f4a3e11e957a27f189f19e5e0024a99a0e (patch) | |
tree | fcc9b28f9b24172b28efe131c4c0a8adabc73977 | |
parent | d842e4658711865216b9b6c9942a2d749c01273c (diff) |
fix: wayland support: force gamescope for wine games when using wayland
-rwxr-xr-x | soibox | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -627,6 +627,12 @@ main() [ -n "$mangohud" ] && setup_mangohud "$mangohud" + if [ -n "$WAYLAND_DISPLAY" ] && [ -n "$wine" ] + then + warn "wine running on wayland session, forcing gamescope" + gamescope=on + fi + [ "$dry_run" = "true" ] && exit |