fix: keep the gamescope cursor out of the zram change

The session script had also picked up the cursor switch from the other branch.
This commit is contained in:
0x1Nawaf committed 2026-10-23 15:52:35 +00:00
1 parent 1f1873a18e
commit 0a8358d11f
1 file changed
+1 -3
@@ -227,9 +227,7 @@ if [ -z "${BL_INSIDE:-}" ]; then
echo "== gamescope: games at ${nested}x${height} stretched to the ${width}x${height} output"
fi
fi
# Off unless Performance asks for it. Compositing the cursor here adds a second
# plane on the phone's compositor; a controller-driven cursor is the reason to turn it on.
if [ "$mode" = steam ] && [ "${BL_CURSOR_COMPOSITE:-0}" = 1 ]; then
if [ "$mode" = steam ]; then
export gamescope_cursor_composite=2
fi
args=(--backend wayland --expose-wayland -f -W "$width" -H "$height" -w "$nested" -h "$height")