From cc42d327eef02ef6416dcab93e87689c82de6856 Mon Sep 17 00:00:00 2001 From: Boris Yumankulov Date: Fri, 11 Jul 2025 17:13:59 +0500 Subject: [PATCH] added XWAYLAND_COUNT Signed-off-by: Boris Yumankulov --- usr/bin/portprotonqt-gamescope | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/bin/portprotonqt-gamescope b/usr/bin/portprotonqt-gamescope index 7582efd..be31e8f 100755 --- a/usr/bin/portprotonqt-gamescope +++ b/usr/bin/portprotonqt-gamescope @@ -22,7 +22,9 @@ set +a # Gamescope parameters : "${OUTPUT_CONNECTOR:=*,eDP-1}" -GAMESCOPE_PARAMS="--prefer-output $OUTPUT_CONNECTOR" +: "${XWAYLAND_COUNT:=2}" + +GAMESCOPE_PARAMS="--prefer-output $OUTPUT_CONNECTOR --xwayland-count $XWAYLAND_COUNT" # Check if NVK driver is in use if vulkaninfo 2>/dev/null | grep -i "driverName" | grep -q "NVK"; then