lil fix for winclient comparison
rathnor rathnor
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/Screen.cc
→
src/Screen.cc
@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// 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 ); }