From 68e82431863936cc785831d663993ad360f59ef4 Mon Sep 17 00:00:00 2001 From: Andres Date: Sat, 21 Sep 2024 23:46:07 -0400 Subject: [PATCH] Update steamtinkerlaunch fix this shouldn't have been touched compared to master --- steamtinkerlaunch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 25b05211..f38142ea 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240921-3-genericfy-steamdedeckt" +PROGVERS="v14.0.20240921-4-genericfy-steamdedeckt" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -10612,9 +10612,7 @@ function listScreenRes { } function setInitWinXY { - DEFRESSHM="$STLSHM/defres.txt" - SCRW="$(getScreenRes w)" - SCRH="$(getScreenRes h)" + DEFRESSHM="$STLSHM/defres.txt" if [ -f "$DEFRESSHM" ] ; then loadCfg "$DEFRESSHM" X @@ -10624,6 +10622,8 @@ function setInitWinXY { WINX="$GAMESCOPESESSX" WINY="$GAMESCOPESESSY" else + SCRW="$(getScreenRes w)" + SCRH="$(getScreenRes h)" WINX=$(( SCRW * 3 / 4)) WINY=$(( SCRH * 3 / 4)) fi