aboutsummaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
commit2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch)
treed58d24853f77685588e42f73a01d782980a3b95e /tag.c
parentb5eea45a316a897632578a74c909aa336557b1d6 (diff)
downloaddwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.gz
dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.tar.bz2
dwm-2d81b78b853565a3e34a8a9190e2362a6fdde739.zip
separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tag.c b/tag.c
index e9d6445..c44954b 100644
--- a/tag.c
+++ b/tag.c
@@ -110,7 +110,7 @@ tag(const char *arg) {
i = arg ? atoi(arg) : 0;
if(i >= 0 && i < ntags)
sel->tags[i] = True;
- lt->arrange(NULL);
+ lt->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(NULL);
+ lt->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(NULL);
+ lt->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(NULL);
+ lt->arrange();
}