From 4d3613f4a3e11e957a27f189f19e5e0024a99a0e Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 25 Feb 2023 07:41:26 +0530 Subject: fix: wayland support: force gamescope for wine games when using wayland --- soibox | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soibox b/soibox index e6505cd..5241c47 100755 --- a/soibox +++ b/soibox @@ -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 -- cgit v1.2.3