projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad20ff
)
applied sanders tag()/toggletag() fixes
author
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 15:50:48 +0000
(17:50 +0200)
committer
Anselm R.Garbe
<arg@10ksloc.org>
Mon, 14 Aug 2006 15:50:48 +0000
(17:50 +0200)
tag.c
patch
|
blob
|
history
diff --git
a/tag.c
b/tag.c
index f6f4535a4fce7793ded49099ee67238edb2930e1..a718ebd2cd55a76710b10dda71c3f00f8e7b81d4 100644
(file)
--- a/
tag.c
+++ b/
tag.c
@@
-269,7
+269,8
@@
tag(Arg *arg)
sel->tags[i] = False;
sel->tags[arg->i] = True;
settitle(sel);
- arrange(NULL);
+ if(!isvisible(sel))
+ arrange(NULL);
}
void
@@
-292,6
+293,8
@@
toggletag(Arg *arg)
if(i == ntags)
sel->tags[arg->i] = True;
settitle(sel);
+ if(!isvisible(sel))
+ arrange(NULL);
}