Bugfix in client_toggletag and checking if not tag selected
This commit is contained in:
parent
2d454a438a
commit
14798753ca
2
tag.c
2
tag.c
|
@ -243,7 +243,7 @@ uicb_client_toggletag(int screen, char *arg)
|
||||||
|
|
||||||
/* check that there's at least one tag selected for this client*/
|
/* check that there's at least one tag selected for this client*/
|
||||||
for(tag = globalconf.screens[screen].tags; tag
|
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)
|
if(!tag)
|
||||||
tag_client(sel, target_tag);
|
tag_client(sel, target_tag);
|
||||||
|
|
Loading…
Reference in New Issue