From 443e77d2a2c81af518153234d2801dca75828fcd Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Mon, 22 Nov 2021 20:09:08 +0100
Subject: [PATCH] Added the %RUNINBACKGROUND% variable to the 'steam' system in
 es_systems.xml.

---
 resources/systems/macos/es_systems.xml   | 2 +-
 resources/systems/unix/es_systems.xml    | 2 +-
 resources/systems/windows/es_systems.xml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/resources/systems/macos/es_systems.xml b/resources/systems/macos/es_systems.xml
index af5addf95..367f7f0a4 100644
--- a/resources/systems/macos/es_systems.xml
+++ b/resources/systems/macos/es_systems.xml
@@ -1144,7 +1144,7 @@
         <fullname>Valve Steam</fullname>
         <path>%ROMPATH%/steam</path>
         <extension>.sh</extension>
-        <command>zsh %ROM%</command>
+        <command>%RUNINBACKGROUND% zsh %ROM%</command>
         <platform>steam</platform>
         <theme>steam</theme>
     </system>
diff --git a/resources/systems/unix/es_systems.xml b/resources/systems/unix/es_systems.xml
index c9bacd632..799da4522 100644
--- a/resources/systems/unix/es_systems.xml
+++ b/resources/systems/unix/es_systems.xml
@@ -1152,7 +1152,7 @@
         <fullname>Valve Steam</fullname>
         <path>%ROMPATH%/steam</path>
         <extension>.sh</extension>
-        <command>bash %ROM%</command>
+        <command>%RUNINBACKGROUND% bash %ROM%</command>
         <platform>steam</platform>
         <theme>steam</theme>
     </system>
diff --git a/resources/systems/windows/es_systems.xml b/resources/systems/windows/es_systems.xml
index 7ef696d85..4af724a6e 100644
--- a/resources/systems/windows/es_systems.xml
+++ b/resources/systems/windows/es_systems.xml
@@ -1152,7 +1152,7 @@
         <fullname>Valve Steam</fullname>
         <path>%ROMPATH%\steam</path>
         <extension>.bat</extension>
-        <command>%HIDEWINDOW% cmd.exe /C %ROM%</command>
+        <command>%HIDEWINDOW% %RUNINBACKGROUND% cmd.exe /C %ROM%</command>
         <platform>steam</platform>
         <theme>steam</theme>
     </system>