From a7e06e320cf5d1c5d79ffabb0299c0104a34860a Mon Sep 17 00:00:00 2001 From: Eamonn Rea Date: Mon, 18 Mar 2024 23:22:10 +0000 Subject: [PATCH] Misc: Warn that WINDECO option does nothing on Wayland (#1065) --- lang/chinese.txt | 4 ++-- lang/dutch.txt | 4 ++-- lang/english.txt | 4 ++-- lang/englishUK.txt | 4 ++-- lang/french.txt | 4 ++-- lang/german.txt | 4 ++-- lang/italian.txt | 4 ++-- lang/polish.txt | 4 ++-- lang/russian.txt | 4 ++-- steamtinkerlaunch | 4 +++- 10 files changed, 21 insertions(+), 19 deletions(-) diff --git a/lang/chinese.txt b/lang/chinese.txt index 436c5b17..2376d30c 100644 --- a/lang/chinese.txt +++ b/lang/chinese.txt @@ -237,8 +237,8 @@ GUI_USESLR="使用 Steam Linux Runtime" DESC_USESLR="使用 Steam Linux Runtime 如果有的话" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="使用窗口装饰" -DESC_USEWINDECO="对所有窗口使用窗口装饰" +GUI_USEWINDECO="使用窗口装饰 (requires restart)" +DESC_USEWINDECO="对所有窗口使用窗口装饰 - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="显示游戏图片" DESC_USEGAMEPICS="显示游戏图片" diff --git a/lang/dutch.txt b/lang/dutch.txt index f1d980b5..17adb63d 100644 --- a/lang/dutch.txt +++ b/lang/dutch.txt @@ -233,8 +233,8 @@ GUI_USESLR="Gebruik Steam Linux Runtime" DESC_USESLR="Gebruik Steam Linux Runtime indien beschikbaar" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Gebruik venster decoratie" -DESC_USEWINDECO="gebruik venster decoratie voor alle vensters" +GUI_USEWINDECO="Gebruik venster decoratie (requires restart)" +DESC_USEWINDECO="gebruik venster decoratie voor alle vensters - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Toon spel afbeeldingen" DESC_USEGAMEPICS="Toon spel afbeeldingen" diff --git a/lang/english.txt b/lang/english.txt index d2152046..0748cd9d 100644 --- a/lang/english.txt +++ b/lang/english.txt @@ -237,8 +237,8 @@ GUI_USESLR="Use Steam Linux Runtime" DESC_USESLR="Use Steam Linux Runtime requested by compatibility tool, if available - May need to be manually from Steam if unavailable" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Use window decoration" -DESC_USEWINDECO="Use window decoration for all windows" +GUI_USEWINDECO="Use window decoration (requires restart)" +DESC_USEWINDECO="Use window decoration for all windows - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Show game pictures" DESC_USEGAMEPICS="Show game pictures" diff --git a/lang/englishUK.txt b/lang/englishUK.txt index d7aa74da..1d065319 100644 --- a/lang/englishUK.txt +++ b/lang/englishUK.txt @@ -233,8 +233,8 @@ GUI_USESLR="Use Steam Linux Runtime" DESC_USESLR="Use Steam Linux Runtime requested by compatibility tool, if available - May need to be manually from Steam if unavailable" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Use window decoration" -DESC_USEWINDECO="Use window decoration for all windows" +GUI_USEWINDECO="Use window decoration (requires restart)" +DESC_USEWINDECO="Use window decoration for all windows - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Show game pictures" DESC_USEGAMEPICS="Show game pictures" diff --git a/lang/french.txt b/lang/french.txt index 9ac65098..8d87e783 100644 --- a/lang/french.txt +++ b/lang/french.txt @@ -232,8 +232,8 @@ GUI_USESLR="Utiliser Steam Linux Runtime" DESC_USESLR="Utiliser Steam Linux Runtime si disponible" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Utiliser la décoration de fenêtre" -DESC_USEWINDECO="Utiliser la décoration de fenêtre pour toutes les fenêtres" +GUI_USEWINDECO="Utiliser la décoration de fenêtre (requires restart)" +DESC_USEWINDECO="Utiliser la décoration de fenêtre pour toutes les fenêtres - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Afficher les images du jeu" DESC_USEGAMEPICS="Afficher les images du jeu" diff --git a/lang/german.txt b/lang/german.txt index 48870bd7..b9e9e922 100644 --- a/lang/german.txt +++ b/lang/german.txt @@ -233,8 +233,8 @@ GUI_USESLR="Verwende Steam Linux Runtime" DESC_USESLR="Verwende Steam Linux Runtime falls verfügbar" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Verwende Fensterrahmen" -DESC_USEWINDECO="Verwende Fensterrahmen für alle Fenster" +GUI_USEWINDECO="Verwende Fensterrahmen (requires restart)" +DESC_USEWINDECO="Verwende Fensterrahmen für alle Fenster - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Spiele Bilder anzeigen" DESC_USEGAMEPICS="Spiele Bilder anzeigen" diff --git a/lang/italian.txt b/lang/italian.txt index cbebed26..2dddd124 100644 --- a/lang/italian.txt +++ b/lang/italian.txt @@ -233,8 +233,8 @@ GUI_USESLR="Use Steam Linux Runtime" DESC_USESLR="Use Steam Linux Runtime se disponibile" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Use Window Decoration" -DESC_USEWINDECO="Usa Window Decoration per tutte le finestre" +GUI_USEWINDECO="Use Window Decoration (requires restart)" +DESC_USEWINDECO="Usa Window Decoration per tutte le finestre - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Mostra le immagini del gioco" DESC_USEGAMEPICS="Mostra le immagini del gioco" diff --git a/lang/polish.txt b/lang/polish.txt index 1543fbe6..a1e2cd22 100644 --- a/lang/polish.txt +++ b/lang/polish.txt @@ -233,8 +233,8 @@ GUI_USESLR="Używaj Steam Linux Runtime" DESC_USESLR="Używaj Steam Linux Runtime jeśli dostępne" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Użyj dekoracji okna" -DESC_USEWINDECO="Użyj dekoracji okna dla wszystkich okien" +GUI_USEWINDECO="Użyj dekoracji okna (requires restart)" +DESC_USEWINDECO="Użyj dekoracji okna dla wszystkich okien - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Pokaż obrazki gry" DESC_USEGAMEPICS="Pokaż obrazki gry" diff --git a/lang/russian.txt b/lang/russian.txt index 69cf8c8b..96d2bfaf 100644 --- a/lang/russian.txt +++ b/lang/russian.txt @@ -233,8 +233,8 @@ GUI_USESLR="Использовать Steam Linux Runtime" DESC_USESLR="Использовать Steam Linux Runtime если опция доступна" # SINCE "v2.4.1" # SINCE "v2.4.2" -GUI_USEWINDECO="Использовать Декоратор Окон" -DESC_USEWINDECO="Использовать Декоратор Окон для всех окон" +GUI_USEWINDECO="Использовать Декоратор Окон (requires restart)" +DESC_USEWINDECO="Использовать Декоратор Окон для всех окон - Note that disabling window decorations does not work on Wayland" # SINCE "v2.6.0" GUI_USEGAMEPICS="Отображать постер игры" DESC_USEGAMEPICS="Показывать игровой постер в стартовом окне steamtinkerlaunch" diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 51072e1d..d405a915 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -7,7 +7,7 @@ PREFIX="/usr" PROGNAME="SteamTinkerLaunch" NICEPROGNAME="Steam Tinker Launch" -PROGVERS="v14.0.20240318-1" +PROGVERS="v14.0.20240319-1" PROGCMD="${0##*/}" PROGINTERNALPROTNAME="Proton-stl" SHOSTL="stl" @@ -2533,6 +2533,8 @@ function prepareGUI { if [ -n "$USEWINDECO" ]; then if [ "$USEWINDECO" -eq 1 ]; then WINDECO="--decorated" + elif [ "$USEWINDECO" -eq 0 ] && [ "$XDG_SESSION_TYPE" == "wayland" ]; then + writelog "WARN" "${FUNCNAME[0]} - Disabling Yad window decorations does nothing on Wayland!" fi fi }