Split: Add test of sc & tile flag at integration
This commit is contained in:
@@ -284,7 +284,9 @@ split_client_integrate(Client *c, Client *sc, int screen, int tag)
|
|||||||
|| !(tags[screen][tag].flags & SplitFlag))
|
|| !(tags[screen][tag].flags & SplitFlag))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if(!sc || sc == c || sc->screen != screen || sc->tag != tag)
|
/* Can't integrate in sc */
|
||||||
|
if(!sc || sc == c || !(sc->flags & TileFlag)
|
||||||
|
|| sc->screen != screen || sc->tag != tag)
|
||||||
{
|
{
|
||||||
/* Looking for first client on wanted tag */
|
/* Looking for first client on wanted tag */
|
||||||
for(b = False, sc = clients; sc; sc = sc->next)
|
for(b = False, sc = clients; sc; sc = sc->next)
|
||||||
|
|||||||
Reference in New Issue
Block a user