This is a minor variant of tests/threads.c that uses transparent windows. You should be able to drag the windows around and see whatever is behind them.