Client: Fix ishide() : Now, check the screen.
This commit is contained in:
@@ -98,6 +98,7 @@ uicb_client_prev(uicb_t cmd)
|
|||||||
for(d = clients; d != sel; d = d->next)
|
for(d = clients; d != sel; d = d->next)
|
||||||
if(!ishide(d))
|
if(!ishide(d))
|
||||||
c = d;
|
c = d;
|
||||||
|
|
||||||
if(!c)
|
if(!c)
|
||||||
for(; d; d = d->next)
|
for(; d; d = d->next)
|
||||||
if(!ishide(d))
|
if(!ishide(d))
|
||||||
@@ -305,7 +306,10 @@ client_hide(Client *c)
|
|||||||
Bool
|
Bool
|
||||||
ishide(Client *c)
|
ishide(Client *c)
|
||||||
{
|
{
|
||||||
if(c->tag && c->tag == seltag[screen_get_sel()])
|
screen_get_sel();
|
||||||
|
|
||||||
|
if(c->tag && c->tag == seltag[selscreen]
|
||||||
|
&& c->screen == selscreen)
|
||||||
return False;
|
return False;
|
||||||
return True;
|
return True;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user