diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-13 19:13:54 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-13 19:13:54 +0200 |
commit | 77044e876511f51c34bde379d89e2de754707ee6 (patch) | |
tree | 6626665e0d57068c2d6ddbb3669534f2afb4e159 /tag.c | |
parent | 2feb3afe784cbd9d900bd70aad91431a4b25f2ab (diff) | |
download | dwm-77044e876511f51c34bde379d89e2de754707ee6.tar.gz dwm-77044e876511f51c34bde379d89e2de754707ee6.tar.bz2 dwm-77044e876511f51c34bde379d89e2de754707ee6.zip |
made Layout a static struct in layout.c, added some convenience getters in layout.c, now lt->arrange accesses are not possible anymore, arrange() is the super-arrange function which sets up all layouts
Diffstat (limited to 'tag.c')
-rw-r--r-- | tag.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -110,7 +110,7 @@ tag(const char *arg) { i = arg ? atoi(arg) : 0; if(i >= 0 && i < ntags) sel->tags[i] = True; - lt->arrange(); + arrange(); } void @@ -124,7 +124,7 @@ toggletag(const char *arg) { for(j = 0; j < ntags && !sel->tags[j]; j++); if(j == ntags) sel->tags[i] = True; - lt->arrange(); + arrange(); } void @@ -136,7 +136,7 @@ toggleview(const char *arg) { for(j = 0; j < ntags && !seltag[j]; j++); if(j == ntags) seltag[i] = True; /* cannot toggle last view */ - lt->arrange(); + arrange(); } void @@ -148,5 +148,5 @@ view(const char *arg) { i = arg ? atoi(arg) : 0; if(i >= 0 && i < ntags) seltag[i] = True; - lt->arrange(); + arrange(); } |