aboutsummaryrefslogtreecommitdiff
path: root/kvmx
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx')
-rwxr-xr-xkvmx5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index c2a620e..6af78f9 100755
--- a/kvmx
+++ b/kvmx
@@ -249,6 +249,11 @@ function kvmx_spice {
xdotool search --name "SPICEc:0" set_window --name $VM
fi
+ # Set screen resolution
+ if [ "$xrandr" == "1" ]; then
+ kvmx_xrandr
+ fi
+
# Restart vdagent
if [ "$ssh_support" == "y" ]; then
echo "which kvmx-vdagent > /dev/null && DISPLAY=:0 kvmx-vdagent" | kvmx_ssh