aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx6
1 files changed, 5 insertions, 1 deletions
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
}