use $window identifier

echo -a ::: $window(-1).w
echo -a ::: $window(-1).h


Charlie