Mercurial > dwm-meillo
comparison tag.c @ 594:f7dcd3ac8d6f
removed viewall(), replaced with view(-1); added tag(-1) to tag a client with all tags (new key combo MODKEY-Shift-0)
author | arg@mig29 |
---|---|
date | Thu, 30 Nov 2006 15:27:43 +0100 |
parents | 601842ee4484 |
children | dcbbfabc8ecc |
comparison
equal
deleted
inserted
replaced
593:c4ecdb5500f6 | 594:f7dcd3ac8d6f |
---|---|
111 unsigned int i; | 111 unsigned int i; |
112 | 112 |
113 if(!sel) | 113 if(!sel) |
114 return; | 114 return; |
115 for(i = 0; i < ntags; i++) | 115 for(i = 0; i < ntags; i++) |
116 sel->tags[i] = False; | 116 sel->tags[i] = (arg->i == -1) ? True : False; |
117 sel->tags[arg->i] = True; | 117 sel->tags[arg->i] = True; |
118 arrange(); | 118 arrange(); |
119 } | 119 } |
120 | 120 |
121 void | 121 void |