<div class="post-text">
        <p>Hi, thanks to the excellent wmctrl (<a href="http://tomas.styblo.name/wmctrl/">http://tomas.styblo.name/wmctrl/</a>)
it was easy for me to retrieve the C code needed to list the visible windows.</p><p>What I still need though is to obtain the information about what is the active
window, what is behind the active window, what behind again then...</p><p>Does anybody know if and how I can obtain this information?</p><p>Thanks.<br>Giuseppe.</p>

    </div>