Skip to content

Commit

Permalink
Misc: Warn that WINDECO option does nothing on Wayland (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk authored Mar 18, 2024
1 parent 0ee1d34 commit a7e06e3
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 19 deletions.
4 changes: 2 additions & 2 deletions lang/chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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="显示游戏图片"
Expand Down
4 changes: 2 additions & 2 deletions lang/dutch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/englishUK.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/french.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/german.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/italian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/polish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions lang/russian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion steamtinkerlaunch
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit a7e06e3

Please sign in to comment.