From fbcd0c3191de8c2d50210c57f377857ccfd914c2 Mon Sep 17 00:00:00 2001
From: rathnor <rathnor>
Date: Sun, 15 Jun 2003 11:52:44 +0000
Subject: lil fix for winclient comparison

---
 src/Screen.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Screen.cc b/src/Screen.cc
index 8b76dba..619bb4a 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
         ); 
 }
-- 
cgit v0.11.2