From: Silvio Rhatto Date: Thu, 17 Aug 2017 19:32:57 +0000 (-0300) Subject: Adds spice_windowmove config X-Git-Tag: 0.1.0~411 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3a576773bae14e8a0ff3811fe82bd98d38c8a85d;p=kvmx.git Adds spice_windowmove config --- diff --git a/kvmx b/kvmx index a670f55..dc7b468 100755 --- a/kvmx +++ b/kvmx @@ -224,8 +224,12 @@ function kvmx_spice { # Give time to connect sleep 5 - # Fix window titles + # Fix window title an position if which /usr/bin/xdotool &> /dev/null; then + if [ ! -z "$spice_windowmove" ]; then + xdotool search --name "SPICEc:0" windowmove $spice_windowmove + fi + xdotool search --name "SPICEc:0" set_window --name $VM fi }