Skip to content

Commit

Permalink
Misc: Warn that WINDECO option does nothing on Wayland
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk committed Mar 18, 2024
1 parent d0b6c40 commit eb4f38b
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion lang/chinese.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ DESC_USESLR="使用 Steam Linux Runtime 如果有的话"
# SINCE "v2.4.1"
# SINCE "v2.4.2"
GUI_USEWINDECO="使用窗口装饰"
DESC_USEWINDECO="对所有窗口使用窗口装饰"
DESC_USEWINDECO="对所有窗口使用窗口装饰 - Note that disabling window decorations does not work on Wayland"
# SINCE "v2.6.0"
GUI_USEGAMEPICS="显示游戏图片"
DESC_USEGAMEPICS="显示游戏图片"
Expand Down
2 changes: 1 addition & 1 deletion lang/dutch.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ 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"
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
2 changes: 1 addition & 1 deletion lang/english.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ DESC_USESLR="Use Steam Linux Runtime requested by compatibility tool, if availab
# SINCE "v2.4.1"
# SINCE "v2.4.2"
GUI_USEWINDECO="Use window decoration"
DESC_USEWINDECO="Use window decoration for all windows"
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
2 changes: 1 addition & 1 deletion lang/englishUK.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ DESC_USESLR="Use Steam Linux Runtime requested by compatibility tool, if availab
# SINCE "v2.4.1"
# SINCE "v2.4.2"
GUI_USEWINDECO="Use window decoration"
DESC_USEWINDECO="Use window decoration for all windows"
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
2 changes: 1 addition & 1 deletion lang/french.txt
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ 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"
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
2 changes: 1 addition & 1 deletion lang/german.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ 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"
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
2 changes: 1 addition & 1 deletion lang/italian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ 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"
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
2 changes: 1 addition & 1 deletion lang/polish.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ 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"
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
2 changes: 1 addition & 1 deletion lang/russian.txt
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ DESC_USESLR="Использовать Steam Linux Runtime если опция д
# SINCE "v2.4.1"
# SINCE "v2.4.2"
GUI_USEWINDECO="Использовать Декоратор Окон"
DESC_USEWINDECO="Использовать Декоратор Окон для всех окон"
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 (windeco-wayland-warning)"
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 eb4f38b

Please sign in to comment.