@ -0,0 +1,12 @@
#!/bin/sh
wid=$1
class=$2
instance=$3
case $class in
('')
case $(ps -p "$(xdo pid $id)" -o comm= 2>/dev/null) in
(qemu-system-x86) echo state=floating;;
esac;;
esac;