use tag id from 0 with uicb_tag_set

This commit is contained in:
Martin Duquesnoy 2011-12-18 15:08:44 +01:00
parent 06219d60ec
commit 03b289b017
2 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ uicb_tag_set(Uicb cmd)
struct tag *t; struct tag *t;
TAILQ_FOREACH(t, &W->screen->tags, next) TAILQ_FOREACH(t, &W->screen->tags, next)
if(++i == n && t != W->screen->seltag) if(i++ == n && t != W->screen->seltag)
{ {
tag_screen(W->screen, t); tag_screen(W->screen, t);
return; return;

View File

@ -123,9 +123,9 @@
[key] mod = {"Control","Alt"} key = "q" func = "quit" [/key] [key] mod = {"Control","Alt"} key = "q" func = "quit" [/key]
[key] mod = {"Control", "Alt"} key = "r" func = "reload" [/key] [key] mod = {"Control", "Alt"} key = "r" func = "reload" [/key]
[key] mod = {"Super"} key = "1" func = "tag_set" cmd = "1" [/key] [key] mod = {"Super"} key = "1" func = "tag_set" cmd = "0" [/key]
[key] mod = {"Super"} key = "2" func = "tag_set" cmd = "2" [/key] [key] mod = {"Super"} key = "2" func = "tag_set" cmd = "1" [/key]
[key] mod = {"Super"} key = "3" func = "tag_set" cmd = "3" [/key] [key] mod = {"Super"} key = "3" func = "tag_set" cmd = "2" [/key]
[key] mod = {"Super"} key = "s" func = "tag_next" [/key] [key] mod = {"Super"} key = "s" func = "tag_next" [/key]
[key] mod = {"Super"} key = "a" func = "tag_prev" [/key] [key] mod = {"Super"} key = "a" func = "tag_prev" [/key]
[key] mod = {"Super"} key = "z" func = "tag" cmd = "tag2" [/key] [key] mod = {"Super"} key = "z" func = "tag" cmd = "tag2" [/key]