aboutsummaryrefslogtreecommitdiff
path: root/soibox
diff options
context:
space:
mode:
Diffstat (limited to 'soibox')
-rwxr-xr-xsoibox6
1 files changed, 6 insertions, 0 deletions
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