Bugfix in client_toggletag and checking if not tag selected

This commit is contained in:
Julien Danjou 2008-03-12 16:06:48 +01:00
parent 2d454a438a
commit 14798753ca
1 changed files with 1 additions and 1 deletions

2
tag.c
View File

@ -243,7 +243,7 @@ uicb_client_toggletag(int screen, char *arg)
/* check that there's at least one tag selected for this client*/
for(tag = globalconf.screens[screen].tags; tag
&& !is_client_tagged(sel, tag); tag = tag->next)
&& !is_client_tagged(sel, tag); tag = tag->next);
if(!tag)
tag_client(sel, target_tag);