From ff3e09ca5e3d37406757013dad2fcbdebc80eca7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 12 Nov 2018 11:18:43 -0200 Subject: Run xrandr only if spice client is in use --- kvmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx b/kvmx index b902ba3..4ab07dd 100755 --- a/kvmx +++ b/kvmx @@ -620,7 +620,7 @@ function kvmx_up { IFS="$old_ifs" fi - if [ "$xrandr" == "1" ]; then + if [ "$xrandr" == "1" ] && [ "$run_spice_client" == "1" ]; then echo "Waiting for X11 to come up so we can set machine resolution..." sleep 8 kvmx_xrandr -- cgit v1.2.3