#!/bin/sh
# Run xtank in an Xnest X server window,
# an unusual solution to the problem of the non-black background
#
# start an Xnest X server window, terminate once done, no TCP socket
Xnest :1 -terminate -nolisten tcp -geometry 800x600 &
# pause in the hope that Xnest will have opened it's listening socket
sleep 1
# run xtank on that X server
/usr/games/xtank/xtank.linux :1
