lil fix for winclient comparison
This commit is contained in:
parent
77f43591ce
commit
fbcd0c3191
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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"
|
#include "Screen.hh"
|
||||||
|
@ -2415,7 +2415,7 @@ bool BScreen::doSkipWindow(const WinClient &winclient, int opts) {
|
||||||
const FluxboxWindow *win = winclient.fbwindow();
|
const FluxboxWindow *win = winclient.fbwindow();
|
||||||
return (!win ||
|
return (!win ||
|
||||||
(opts & CYCLESKIPSTUCK) != 0 && win->isStuck() || // skip if stuck
|
(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
|
(opts & CYCLESKIPSHADED) != 0 && win->isShaded() // skip if shaded
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue