Infobar: Improve selbar check if there is no sel (in current screen)
This commit is contained in:
parent
6ecc58bdb1
commit
a0a53f3af2
@ -179,9 +179,10 @@ infobar_draw_selbar(int sc)
|
||||
if(!conf.bars.selbar)
|
||||
return;
|
||||
|
||||
if(!sel)
|
||||
if(!sel || (sel && sel->screen != sc))
|
||||
{
|
||||
barwin_unmap(infobar[sc].selbar);
|
||||
|
||||
return;
|
||||
}
|
||||
else if(sel && !infobar[sc].selbar->mapped)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user