ugly hack to make 'retag' actually work (it didn't) on startup, but let it not mess up a users layout

This commit is contained in:
Sander van Dijk 2006-04-13 00:03:29 +00:00
parent 9184de8ad5
commit ec78f60e8a

View File

@ -112,6 +112,8 @@ match(Client *c, const char *prop)
else if(!strncmp(r->tags, "!", 2)) {
if(view.size) {
if(c->view.size) {
if(c->view.size == 1 && !strncmp(c->view.data[0]->name,"nil",4))
continue;
c->tags[0] = 0;
unsigned int j;
for(j = 0; j < c->view.size; j++) {