all repos — fluxbox @ fbcd0c3191de8c2d50210c57f377857ccfd914c2

custom fork of the fluxbox windowmanager

lil fix for winclient comparison
rathnor rathnor
commit

fbcd0c3191de8c2d50210c57f377857ccfd914c2

parent

77f43591ce5fca89e646a4d1140bc95cbe082025

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/Screen.ccsrc/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 ); }