diff --git a/src/Screen.cc b/src/Screen.cc index 8b76dba4..619bb4a2 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.182 2003/06/15 11:37:53 rathnor Exp $ +// $Id: Screen.cc,v 1.183 2003/06/15 11:52:44 rathnor Exp $ #include "Screen.hh" @@ -2415,7 +2415,7 @@ bool BScreen::doSkipWindow(const WinClient &winclient, int opts) { const FluxboxWindow *win = winclient.fbwindow(); return (!win || (opts & CYCLESKIPSTUCK) != 0 && win->isStuck() || // skip if stuck - (opts & CYCLEGROUPS) != 0 && win->winClient() != winclient || // skip if not active client (i.e. only visit each fbwin once) + (opts & CYCLEGROUPS) != 0 && win->winClient() != winclient.window() || // skip if not active client (i.e. only visit each fbwin once) (opts & CYCLESKIPSHADED) != 0 && win->isShaded() // skip if shaded ); }