fixed tag selection issue from mailinglist

This commit is contained in:
Anselm R. Garbe 2006-03-30 14:58:53 +02:00
parent 43edcfc10f
commit 42a175422d
1 changed files with 3 additions and 2 deletions

View File

@ -76,14 +76,15 @@ update_tags()
organize_client(view[sel], client[i]);
}
if(!hasclient(view[sel])) {
if(nview && !hasclient(view[sel])) {
destroy_view(view[sel]);
if(nview)
focus_view(view[sel]);
else
update_bar_tags();
}
else if(!nview && ntag)
if(!nview && ntag)
select_view(tag[0]);
else
update_bar_tags();